[TYPO3-core] RFC #13998: Introduce Automatic versioning of CSS and JS files

Vladimir Podkovanov admin at sitesfactory.ru
Wed Apr 7 05:01:58 CEST 2010


Lars Houmark wrote:

> Version number all these files in order to have a unique filename for 
> every file. By using .htaccess rules, it is possible to create a virtual 
> filename using the files modification time (filemtime). This way version 
> numbering is fully automatic and the filename will change from 
> filename.js to filename.1260819325.js.

Hi!
Why not use filename.js?1260819325 instead of filename.1260819325.js
In such case no .htaccess is needed.

AFAIK filename?[version_no] method is commonly used and works with all 
browsers and browser caching works as well.

-- 
-rgds-
Vladimir


More information about the TYPO3-team-core mailing list