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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...