Home > Questions and Answers > General Questions

adjusting testing results from gtmetrix (2)


05-04-2014 07:39 PM #1 supeyrio (Member)
adjusting testing results from gtmetrix

i have always gotten this:
Levereage browser caching
The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
http://cdn.myhosting/filelocation (expiration not specified).

how should i specify it? thanks!


05-05-2014 01:28 AM #2 zeno (Administrator)

You need to add custom headers to your CDN-hosted files. To be honest it's not a huge issue... and can be more annoying on some CDNs vs others.

The files will load just as quickly from the CDN regardless it's just that peoples browsers might not cache the files for as long. This isn't very important for landing pages where we expect to mostly have unique users.

Here's some info on setting headers - http://gtmetrix.com/add-expires-headers.html
http://www.cloudberrylab.com/blog/ho...erry-explorer/


Home > Questions and Answers > General Questions