Monday, December 29, 2014

how not to cache background image?

Hello,

I set the background image of a web app in the root panel like this:

getElement().getStyle.setBackgroundImage(url);

When I change the background image, I only change a symbolic link on the server, so the url remains the same.

However, when I change it, the users still see the old image.

What can I do, so that the change will be visible immediately?

Thanks
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