Short answer: You probably can’t, which is another reason friends shouldn’t let friends use GoDaddy.
At least, I’ve confirmed that this is the case with GoDaddy’s turnkey “managed” WordPress hosting service. If you’re a developer unlucky enough to have to work within this hosting plan, and if you’re trying to modify your template files via FTP, you may notice that your changes aren’t taking effect right away. Apparently to reduce the load on their servers, GoDaddy has added a caching feature which cannot be disabled. (It’s probably implemented at the server level, not as a WordPress plugin at all.)
The quickest way to force your page to load fresh is to add an unnecessary variable to the end of your URL each time you reload the page, like so:
http://yourgodaddysite.com/your-page-name/?junk=1
Just increment the junk variable each time you need to reload the page: junk=2, junk=3, etc.
Alternatively, if you login to the WordPress dashboard, you’ll find a Flush Cache button at the very top of the screen, just to the left of GoDaddy Settings. If the mandatory caching is too much of a headache, contact GoDaddy and ask them to switch you over to a traditional hosting plan and install WordPress yourself. Or switch to a better web host.
thanks. is it applicable to every host or only for godaddy ? we my website is hosted at hostgator. therefore kindly guide for the same.
If we really can not put it off, then Godaddy is s**t. Better move on to some other host. Thanks, for the info. http://www.omaksolutions.com
I wonder why they have a gd-config.php file then. They could have a variable/macro for “gd-cache” to switch on/off the Godaddy default caching.
@rajat — I believe more and more hosting companies are forcing caching in order to keep their machines from running too slow (or to keep themselves from having to buy more machines). The trick of adding a bogus ?= variable to the URL should work pretty much anywhere though.
Pressing Flush cache button works perfect. Thanks dude.
It really worked !!
Thankx a lot !
When i can change css it cannot show any changes. i also flush my cache and also use ?junk=1
I use Godaddy managed wordpress for two sites and love it. It’s so freaking fast. The caching thing: we did run into that but got it figured out and it’s not a big deal once you know. And, it’s so cheap it’s like paying nothing.
YOU SAVED MY LIFE!
Based on my experience GoDaddy is the absolute worst host on the planet, given their resources.
They never even bothered to tell me about the cache and it seems like it’s not published anywhere.
– Each email with hosting is like $3.+ per month…lol
DONT GO TO GODADDY, IF YOU ARE THERE LEAVE!
Shame on you GD you could care less until it hits your pockets.
I just tried GoDaddy WordPress hosting for the first time – not happy about the caching! Your idea got me thinking, you can use php to change the name of a dependent file on each page load. It’s something I do a lot during development to stop the stylesheet being cached while I’m making changes – an example would be;
Good luck caching that Godaddy!
thanks it worked for me, but only on go daddy, need to check with others as well.
Many thanks, it wordrd for me
so this is great info….but I have moved my stite, lock stock and barrel back to my home server and I keep seeing cache errors in my apache logs…any idea of where inside the WordPress files I need to go to kill the cache?
You can also utilize GD_NONCE so you don’t have to add unique variables each time. So something like this will bypass their caching: http://www.url.com/?GD_NONCE
thank you but cache still existing on gd managed wordpress
you can go to your account manage wordpress hosting and click on manage > setting > and just disable here CDN 🙂
Godaddy is just a Big name now a days, From last 6 Months my experience with GoDaddy, worst hosting provider..