Why are my theme css files caching on sub domain sites
-
I am fairly new to web design and wordpress, and I am currently designing a sub domain WordPress multisite with a lot of my own themes. I am having trouble with theme stylesheets caching every time I make a change to the stylesheet. This only happens on the sub domain sites (not main site).
I’ve created a few user accounts where I test theme changes to all my themes, but every time I overwrite the new css file (or completely delete it) I have to wait about 10 mins each time for it to take affect.
I don’t have anything in the htaccess that causes any caching, I haven’t added any caching plugins. I completely flush browser caches – the same problem happens if I deleted the css file for a theme, and then go on a browser that I have never been on before, it still shows the theme with the css for 10 mins, so I don’t think the browsers are the problem. Even from a brand new install of a multisite with no plugins installed, this still occurs.
No theme php file or any other file caches, its just when I make edits to any theme css files that I have to wait 10 mins, another thing to note is this caching never happens on my main site, only on the sub domain sites – for example, if mysite.com and a few created sites such as test1.mysite.com and test2.mysite.com all using the same theme – if I delete the css file for that theme, mysite.com will take affect straight away and show the site with no stylesheet, but test1.mysite.com and test2.mysite.com, It is on these sub domain sites where I have to wait 10 mins before the css file removes.
I haven’t enabled any type of caching on my host, but I can only imagine it has something to do with my host. Am I missing anything here? Is there anyway I can find out why or where these css files are caching? Hope someone can help, thanks.
- The topic ‘Why are my theme css files caching on sub domain sites’ is closed to new replies.