| | #1 |
| Senior Warrior Member War Room Member Join Date: 2009
Posts: 1,057
Thanks: 124
Thanked 198 Times in 147 Posts
|
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? |
| | |
| |
| | #2 |
| Warrior Member Join Date: 2012 Location: New York, NY
Posts: 13
Thanks: 2
Thanked 1 Time in 1 Post
|
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" /> |
| Performance Marketing AdOps Guide: www.performanceadops.com | |
| |
| The Following User Says Thank You to briangriffin For This Useful Post: |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2008 Location: Missouri, USA
Posts: 167
Thanks: 27
Thanked 38 Times in 33 Posts
|
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.
|
|
Traci Knoppe, OBM, Launch & Project Manager Your Web Tech Team | |
| |
|
| Bookmarks |
| Tags |
| caching, problem |
| |