Jump to content

Recommended Posts

Posted

Moving to Website Management & Coding, as this question is not related to the service HelioHost provide.

Guest Geoff
Posted

BTW, you might look into offline web applications if you are setting your cache that long.

Posted

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

Posted

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"); ?>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...