Guest Geoff Posted May 30, 2011 Posted May 30, 2011 See http://www.askapache.com/htaccess/using-ht...g-with-htaccess Quote
jje Posted May 30, 2011 Posted May 30, 2011 Moving to Website Management & Coding, as this question is not related to the service HelioHost provide. Quote
RJ Consulting Posted May 30, 2011 Author Posted May 30, 2011 Thanks. That reference is what I needed. Now to test how well it works... Quote
Guest Geoff Posted May 30, 2011 Posted May 30, 2011 BTW, you might look into offline web applications if you are setting your cache that long. Quote
RJ Consulting Posted June 1, 2011 Author Posted June 1, 2011 Noted. Cache-control is new to me, so I'm starting with recommendations I discover. Also, is mod_deflate installed / enabled? I'd like to take advantage of Gzip's compression, but am not noticing a difference when I insert the following into my personal root level .htaccess: <IfModule mod_deflate.c> <FilesMatch "\.(js|css)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule> Thanks, rjconsul Quote
Byron Posted June 1, 2011 Posted June 1, 2011 No mod_deflate is not enabled but you can use this on any of your pages that end in .php Insert this at the very top of your page: <?php ob_start("ob_gzhandler"); ?> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.