Caching Problem?

by 2 replies
3
Yesterday I was changing the css for a WordPress site on GoDaddy. I wasat a wi-fi site. The site I was working on had no caching plugins installed.
I make the change, hit ctrl-F5 a few times,browsed away from the page, cleaned out my cache, repeated this in Firefox and Chrome. Nothing happened.
I couldn't figure out why not as I knew I had changed the correct section of the code.
Then 35 minutes later when I go back to the site to work on something else the change is live.

Any idea what I missed that could have kept the old version in the cache?
#website design #caching #problem
  • You can add a version number as a query string on the end of the URL of the CSS file in your HTML so the browser thinks it is a different file each time you change it.

    HTML Code:
    <link rel="stylesheet" href="style.css?version=1.1" />
    Just change the version number if you want to force the browser to download the updates.
    • [ 1 ] Thanks
  • With most changes you make at Godaddy, they will give you a message as to approximately how long it will be before you may see those changes. Never have I seen a message that said the changes would be instant. Some message state with 10 minutes, others up to 48 hours.

Next Topics on Trending Feed

  • 3

    Yesterday I was changing the css for a WordPress site on GoDaddy. I wasat a wi-fi site. The site I was working on had no caching plugins installed. I make the change, hit ctrl-F5 a few times,browsed away from the page, cleaned out my cache, repeated this in Firefox and Chrome. Nothing happened. I couldn't figure out why not as I knew I had changed the correct section of the code.