Archived

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

  • 0

Specify A Cache Validator

Question

Posted · Report post

how can i Specify a cache validator

i m getting this error testing my site at http://tools.pingdom.com/fpt

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:

http://fonts.googleapis.com/css?v2&family=OFL+Sorts+Mill+Goudy+TT:regular,italic

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

You cannot cache google fonts, they are an external resource, all external css/js/images whater you have NO control over, unless you are the admin for that server as well.

As for serving from a cookieless domain, that means serve your static files from a different server/domain that is not running php, so no sessions/cookies are set. Most CDN's are like that anyway.

Share this post


Link to post
Share on other sites

Posted · Report post

Well, you should contact google and ask them to provide a Last Modified header for their fonts. Its an external resourse so there is nothing you can do.

Share this post


Link to post
Share on other sites

Posted · Report post

i see... do you think i could use plugin for wordpress to cache it?

also, do you recomend to Serve static content from a cookieless domain?

Share this post


Link to post
Share on other sites