Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2015-05-04 09:23:21

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

Board footer

Powered by FluxBB