Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Gzip CSS files
The problem remains though as the rules do compress the html but not the js and css files. Any idea why?
Solved by adding these rules
<IfModule deflate_module>
AddOutputFilterByType \
DEFLATE \
application/javascript \
text/css \
text/html \
text/javascript \
text/plain \
application/rss+xml \
application/atom+xml \
text/xml
</IfModule>
All I need to do now is figure out what to do with browser caching so as to get the max re pagespeed. The conceptual problem is that the css changes constantly as I am optimising little presentation bugs all the time whereas the images are loaded using the rand()
parameter.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline