Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 24th Jul 2012, 09:44 AM   #1
Senior Warrior Member
War Room Member
 
Join Date: 2009
Posts: 1,057
Thanks: 124
Thanked 198 Times in 147 Posts
Default
Caching Problem?
Share on: 
fb share twitter share gplus share more share

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?

rhinocl is offline  
Unread 24th Jul 2012, 01:54 PM   #2
Warrior Member
 
briangriffin's Avatar
 
Join Date: 2012
Location: New York, NY
Posts: 13
Thanks: 2
Thanked 1 Time in 1 Post
Default
Re: Caching Problem?
Share on: 
fb share twitter share gplus share more share

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.

Performance Marketing AdOps Guide: www.performanceadops.com
briangriffin is offline  
The Following User Says Thank You to briangriffin For This Useful Post:
Unread 24th Jul 2012, 02:37 PM   #3
HyperActive Warrior
War Room Member
 
tknoppe's Avatar
 
Join Date: 2008
Location: Missouri, USA
Posts: 167
Thanks: 27
Thanked 38 Times in 33 Posts
Default
Re: Caching Problem?
Share on: 
fb share twitter share gplus share more share

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
tknoppe is offline  
Closed Thread


Bookmarks

Tags
caching, problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:33 PM.