Tuesday, December 30, 2014

Re: how not to cache background image?



On Tuesday, December 30, 2014 5:06:08 PM UTC+1, Thomas Broyer wrote:
Do you send appropriate HTTP headers to instruct the browser to check for changed content? (e.g. Cache-Control: must-revalidate) 

No, but while retrieving information about these headers I noticed another requirement:

The image must not be loaded on every access! I only want to force a reload when I change it, not on every request.

Is there a solution for this?

Magnus 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment