[TYPO3-dev] Minifying Prototype and Scriptaculous

Dmitry Dulepov dmitry at typo3.org
Thu Jan 15 11:50:45 CET 2009


Hi!

Ingo Renner wrote:
> good idea in general, but I'd rather like to have a more generic
> solution instead of shipping the minified versions of the files. I also
> remember we discussed that already in the core list.
> 
> Goal:
> Have a way that minifies JS on the fly and caches the result (in
> typo3temp f.e.). That way we would also get minified versions of
> whatever other JS we will ever have or a user adds through an extension.
> We would also not have to deal with updating minified versions of files
> when updating them.
> 
> The reference to t3lib_div::minifyJavaScript might come from that idea
> already...

There are two problems that I do not like in this approach:
- minifyJavaScript takes a lot of time and resources for large scripts because it is interpreted PHP code
- there is no need at all to do it during page load if it can be done once and only once offline

-- 
Dmitry Dulepov
TYPO3 core team

Mr. Harris: People say that you were the last person to speak with Jordon...
            Is that true? 
Cameron: I don't know. Are you asking me if people say I was the last person
            to talk to Jordon? Or are you asking me if I was the last person
            to talk to her? 
Mr. Harris: I guess I'm asking if you were. 
Cameron: I don't know. 




More information about the TYPO3-dev mailing list