[TYPO3-english] Minifying JS and CSS, good tools or extensions?

Robert Wildling rowild at gmx.net
Mon May 12 23:34:48 CEST 2014


Hi, Loek,

is your experience with js_css_optimizer better/other/worse than with 
scriptmerger?
(I only had the chance to use the latter on TYPO3 4.5, so I wouldn't 
even know if scriptmerger is 6.x ready...)

Best regards,
Robert

Am 12.05.14 23:21, schrieb Loek Hilgersom:
> Just for anyone who is interested, by coincidence I found the 
> solution: the problem was related to the NFS filesystem which this 
> site is using, and the following patch resolves it. [1]
>
> Loek
>
> [1] 
> http://forge.typo3.org/projects/extension-js_css_optimizer/repository/revisions/81913/diff/trunk/classes/hooks/class.tx_js_css_optimizer_hooks.php
>
>
>
> On 25-04-14 15:33, Loek Hilgersom wrote:
>> Hi all,
>>
>> I've been using the extension js_css_optimizer to concatenate and 
>> minify JS and
>> CSS files and it worked almost, except that I keep having issues on a 
>> large
>> multi-domain site: apparently it re-generates the cache files quite 
>> frequently,
>> eventhough the CSS and JS hadn't changed. And after re-generating, 
>> every so
>> often something goes wrong: either some files are not generated, or the
>> references to files are not updated in the HTML (maybe the page cache 
>> isn't
>> cleared?), resulting in one or more sites without stylesheets or JS.
>>
>> Anyone knows a solution, or suggestions for an extension or tools 
>> that might do
>> a better job?
>>
>> I know I could do this in the IDE, use LESS or SASS etc., but there 
>> are more
>> developers contributing parts to the site, and there is a lot of 
>> legacy in the
>> site that will be a lot of work to refactor, so I'm looking for a 
>> solution that
>> works without too much refactoring.
>>
>> Thanks,
>> Loek



More information about the TYPO3-english mailing list