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

Lars Houmark lars at houmark.com
Tue Apr 6 10:31:29 CEST 2010


> If the feature requires Apache configuration it must be configurable. 
> Not all sites use Apache.

I understand ;) Attached is a version 3, that will swap depending on 
configuration. If 
$GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['useInfileVersionNumbering'] is 
false, the timestamp will be added in the query-sting.

TYPO3_MODE is used in that check, and this is to prepare for FE usage, 
even though the call in the pagerenderer is currently not done if 
TYPO3_MODE is FE. At least this way it is partly ready for use in FE. I 
am not sure how others feel about this?

Maybe there should be a general configuration for BE and FE usage of 
this, I am looking forward to feedback :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13998_v3.diff
Type: application/octet-stream
Size: 15189 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100406/49d4029e/attachment-0001.obj>
-------------- next part --------------


-- 
Lars Houmark


More information about the TYPO3-team-core mailing list