[TYPO3-core] RFC #10601: Cleanup: Move static dyntabmenu code in external file

Dmitry Dulepov dmitry at typo3.org
Wed Mar 4 12:33:29 CET 2009


Hi!

Benjamin Mack wrote:
> I would like to have minified versions of all JS files we have. For
> this, I would like to alter the "loadJavascriptLib()" function of
> template.php, that searches for a "file exists" of a
> "prototype.minified.js" or even better, a "prototype.compressed.js"
> file, and then uses this by default. This way we only need to provide
> the files and don't need to change all places where the files are used.
> 
> What do you think? I would create a separate RFC for that if it's ok
> with you.

I do not like the idea of compressing such files during the page load. It make take seconds with t3lib_div's method + check every time when this script is necessary. This is not optimal.

-- 
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/
"Computers are so unreliable... just like people" (Major Cain, "Resident Evil: Apocalypse")


More information about the TYPO3-team-core mailing list