[TYPO3-core] RFC #14277: Improve t3lib_compressor

Susanne Moog info at susannemoog.de
Sun May 2 16:33:52 CEST 2010


On 02.05.2010 14:52, Steffen Gebert wrote:
> Am 02.05.2010, 13:54 Uhr, schrieb Steffen Kamper <info at sk-typo3.de>:
> 
>> 1) the link tag for compressed scripts now miss the closing tag "/>"
> separate issue, will take care
> 
>> 2) With open_basedir i get warnings with EM that scripts can't be
>> loaded, example:
> okay.. agan an issue of doubled BACK_PATH. I fixed this and improved the
> phpdoc comments. compress(Js|Css)File(s)() now always get paths relative
> to the requested page and give the same back.

+1 by reading and testing. Attached patch contains one change - the file
ending for gzipped files is now .gzip as safari can't cope with the .gz
ending. Therefore change your .htaccess to:

AddEncoding gzip .gzip
<FilesMatch "\.js\.gzip$">
  AddType "text/javascript" .gzip
</FilesMatch>
<FilesMatch "\.css\.gzip$">
  AddType "text/css" .gzip
</FilesMatch>


Best regards,

Susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14277_v6.diff
Type: text/x-diff
Size: 14599 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100502/575df8f8/attachment-0001.diff>


More information about the TYPO3-team-core mailing list