up vote 1 down vote favorite
share [g+] share [fb]

Connector settings:

<Connector ...
compression="2048"
noCompressionUserAgents="gozilla, traviata"
compressionMimeType="text/html,text/xml,text/plain,text/css,text/javascript"/>

This seems to work for html, but not for css or javascript. compression="force" does work, but compression="on" doesn't. compression="2" doesn't work either, so I don't know what "force" is really doing.

The files in question are about 6k, I've cleared the browser cache, etc.

link|improve this question

67% accept rate
feedback

1 Answer

up vote 2 down vote accepted

You should use compressableMimeType, not compressionMimeType, so

<Connector ...
compression="1400"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType ="text/html,text/xml,text/plain,text/css,text/javascript"/>

Should do the trick.

link|improve this answer
Perfect, thanks. – Draemon Jul 8 '09 at 23:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.