Jump to content
jankowalski

Specify A Cache Validator

Recommended Posts

jankowalski    3
jankowalski

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
Simon    247
Simon

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
jankowalski    3
jankowalski

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
Simon    247
Simon

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×