We redid the logo for our website, and I want to ensure that users see the new image when they come to our page. The logo is a background-image for a div. How do I ensure that the css is refreshed when the users come to the page?
Modify the URL of the CSS to i.e. style.css?newVersion=1
.
Add an unused querystring parameter (eg, ?version=2011-06-01
) to create a new, uncached URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With