[TYPO3-english] code-junk in scriptmerger compressed scripts

Marcel Remmy marcel.remmy at fh-kl.de
Thu Apr 1 12:29:57 CEST 2010


Hi Steffen,

thanks for your quick reply. I just checked the extension out and am now 
using 3.0.6 of scriptmerger correct?

after clearing caches and problem keeps existing. i know of no proxy 
between the server and the potential client.

any other hints? :)


Am 01.04.2010 12:07, schrieb Steffen Gebert:
> Am 01.04.2010, 11:39 Uhr, schrieb Marcel Remmy <marcel.remmy at fh-kl.de>:
>
>> just setting up a small 4.4a2 test-system that uses ext:scriptmerger
>> as css+js merger+compressor. problem is, that the extension itselfs
>> works great as long as compress = 0 is set. so merging works.
>>
>> now, if i set compress = 1 to even further save bandwith, the file
>> changes from .css to .gz.css which is okay, but the content is not
>> readable.
>>
>> the apache httpd (2.2) running on ubuntu-server has the necessary mods
>> loaded, like deflate, headers, expires and so on.
>>
>> i also pasted the example.htaccess content to my ordinary .htaccess
>> and for purposes of exasperation again in
>> typo3temp/scriptmerger/compressed/.htaccess but the result keeps
>> always the same:
>
> Do you use a proxy server which talks only HTTP/1.1?
> We found some problems [1] with this, as scriptmerger always returns the
> compressed one (regardless of client requests them), which leads to
> exactly this behavior.
>
> Could you please check out the trunk version of scriptmerger [2], where
> we fixed this?
>
> Steffen
>
> [1] http://forge.typo3.org/issues/show/5915
> [2] https://svn.typo3.org/TYPO3v4/Extensions/scriptmerger/trunk



More information about the TYPO3-english mailing list