Is mod_expires available on Miva servers?
Announcement
Collapse
No announcement yet.
mod_expires
Collapse
X
-
Re: mod_expires
Hi David,
Do you have a recommended expires time by file type in light of page speed?
My site's average days to sale is two (95%). And I don't change my images, scripts, styles very often.
ExpiresByType image/x-icon "access plus 1 year”
ExpiresByType image/gif "access plus 1 month"
ExpiresByType text/html "access plus 2 days"
Also, can you use either 'ExpiresByType' or <FilesMatch "\.(gif|jpg|jpeg|png|swf)$"> within the <IfModule mod_expires.c> tag?
Comment
-
Re: mod_expires
Either format is valid. A suitable expiration time will typically be no longer than what you'd guess is the average time between frequent visitors' return visits. You don't want to go with some huge time because then when you update content, it's a pain waiting for everyone to see it, but you don't want it so short that if your typical customer returns once a week, that they end up downloading all the content over again each time anyway. If you have analytics, you may be able to determine an average return visit time for customers and adjust it just slightly higher than that.
Comment
Comment