Tuesday, December 30, 2014

Re: how not to cache background image?

thanks, but then I have to change and redeploy the code. The reason for using the symbolic link was to be able to change the image independent of the app.
Is there another solution?

Rename the image to something like bg.nocache.jpg. Your server should already have a rule configured to provide no-cache HTTP headers for anything that contains *.nocache.* because of your <module>.nocache.js file which should also never be cached by browsers.

-- J.

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