[TYPO3-core] RFC: #16647: Prevent compress of scripts that use ajax.php

Steffen Kamper info at sk-typo3.de
Sat Dec 4 12:47:44 CET 2010


Hi,

Jigal van Hemert schrieb:
> 
> Is this a correct criterion for determining if a script is dynamic?
> scriptaculous.js?load=effects,dragdrop

fact is that compressor doesn't work with any scripts having "?". That 
was the reason why scriptaculous was included always with all modules 
and not the mentioned syntax.

> I'm not very much into the various JS libraries, but I doubt that this 
> is dynamic code; it just determines which other parts of the library 
> (also static files) should be loaded.
> 
> Furthermore, a "static" URL such as /path/to/script/file.php could 
> result in a completely dynamic script...
> 

it's up to you to decide that it's dynamic, in your case use
/path/to/script/file.php?dynamic

Facit: either take this fix or rewrite compressor jsfile method.

vg Steffen


More information about the TYPO3-team-core mailing list