2017 © Pedro Peláez
 

silverstripe-module silverstripe-betterrequirementsversioning

Replaces the querystring ?m=timestamp versioning to include the filestamp before the file extension for better caching

image

christopherdarling/silverstripe-betterrequirementsversioning

Replaces the querystring ?m=timestamp versioning to include the filestamp before the file extension for better caching

  • Tuesday, March 1, 2016
  • by christopherdarling
  • Repository
  • 1 Watchers
  • 3 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Scrutinizer Code Quality Build Status, (*1)

silverstripe-betterrequirementsversioning

Replaces the querystring ?m=timestamp versioning to include the filestamp before the file extension for better caching, (*2)

Installation

  1. Install the module as usual.
  2. Add the following code to your .htaccess
<IfModule mod_rewrite.c>
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]
</IfModule>

The Versions

01/03 2016

dev-master

9999999-dev http://www.christopherdarling.co.uk

Replaces the querystring ?m=timestamp versioning to include the filestamp before the file extension for better caching

  Sources   Download

MIT

The Requires

 

framework silverstripe requirements revving