• Resolved andym33

    (@andym33)


    If anyone can work out this problem for me you are an absolute legend. I have a multisite with a strange caching problem that only happens on all sub sites where my css file caches for 10mins/a few hours everytime I make a css change, I have tried to find the answer for the last couple of weeks, usually I use multisite forum.

    I’m trying to find out where my theme css files keep caching, its not browser caching, I don’t have any cache plugins, and no caching in my htaccess, all my host caches are disabled.

    My main site is:
    http://reccoa.com
    and a test sub site on:
    http://test1.reccoa.com

    For this example I have just deleted my css file in
    http://reccoa.com/wp-content/themes/custom1/style.css?ver=2.0.2

    so if you view reccoa.com right now, it will have no stylesheet and if you view page source and click:

    <link rel='stylesheet' id='andym-css' href='http://reccoa.com/wp-content/themes/custom1/style.css?ver=2.0.2' type='text/css' media='all' />

    You will get a 404 error, and rightly so because I’ve deleted the css file.
    but if you view: http://test1.reccoa.com
    This site displays with the css file. and if you view page source and click:

    <link rel='stylesheet' id='andym-css' href='http://test1.reccoa.com/wp-content/themes/custom1/style.css?ver=2.0.2' type='text/css' media='all' />

    You can see my whole stylesheet and it will remove in 10mins/a few hours , where is this css file coming from when I have deleted it?

  • The topic ‘Why is my css file caching?’ is closed to new replies.