[TYPO3-english] code-junk in scriptmerger compressed scripts
Steffen Gebert
steffen at steffen-gebert.de
Thu Apr 1 12:07:50 CEST 2010
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