Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

missing a cache validator


cclayton

Recommended Posts

Posted

When I run my site through pingdom tools it tells me that:

 

The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:

 

Then it details all the images on the page. Any ideas on how I can resolve this easily for just caching my images and nothing else?

 

Thanks!

Founder & Director at CSC Tours Ltd

Posted

It looks like you should be able to add a

FileETag MTime Size

or

Header set Last-modified "%D %t"

to the .htaccess file in the images directory. I haven't tried it though.

 

Best practice seems to be to only use one or the other, not both.

Always back up before making changes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...