var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Mod_gzip and zlib
I am using Mod_gzip to compress my html and php pages. But the problem is that mod_gzip doesn't work for compressing js script as it is not compatible.
Now i am working on using php zlip output compression to compress js file. I am also planning to use PHPA accelerator.
My question is can the php zlip output compression, accelerator and mod_gzip can work together??
Also like mod_gzip stores data in .wrk file....where does php output compression is stored?
I want to cache images and js files for 30 days as they hardly change.
I want to add code that checks if the file is modified and if yes then get the latest copy of the file to cache
This is why my headers display right now for the site cache control
post-check=0, must-revalidate, no-store, no-cache, pre-check=0
I need advise on what to actually add to my htaccess so that those files like css and js that don't change can be in the cache but are always checked for modification and then the cache copy is replaced
Is it alright to use no-store and no-cache