Zen Cart Logo
Forums / Basic Configuration / alternative to mod_expires?

alternative to mod_expires?

Views: 1,360

Results 1 to 2 of 2
3 Oct 2011, 10:53 AM
#1
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

alternative to mod_expires?

my server doesn't have mod_expires installed as they are useless (1&1) ... didnt have gzip either :censored:

anyway, i am looking for an alternative to add expires to my media files that i can add as my google page speed score seems to be really hit due to this.

can anyone offer any advice?

3 Oct 2011, 4:57 PM
#2
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: alternative to mod_expires?

just in case anyone else is having this problem i have used

<FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>

which seems to satisfy enough until i change servers