RJ Consulting Posted May 30, 2011 Share Posted May 30, 2011 Quote Link to comment Share on other sites More sharing options...
Guest Geoff Posted May 30, 2011 Share Posted May 30, 2011 See http://www.askapache.com/htaccess/using-ht...g-with-htaccess Quote Link to comment Share on other sites More sharing options...
jje Posted May 30, 2011 Share Posted May 30, 2011 Moving to Website Management & Coding, as this question is not related to the service HelioHost provide. Quote Link to comment Share on other sites More sharing options...
RJ Consulting Posted May 30, 2011 Author Share Posted May 30, 2011 Thanks. That reference is what I needed. Now to test how well it works... Quote Link to comment Share on other sites More sharing options...
Guest Geoff Posted May 30, 2011 Share Posted May 30, 2011 BTW, you might look into offline web applications if you are setting your cache that long. Quote Link to comment Share on other sites More sharing options...
RJ Consulting Posted June 1, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
Byron Posted June 1, 2011 Share 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 Link to comment Share on other sites More sharing options...
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.