• Hello,

    I hope someone can help me solve this issue. I make changes to my main CSS file and upload the file to the server but the changes are not made on the website when I hit refresh. I am a developer and changing CSS’s is something I do ALL the time.

    This seems to be a recent issue as I have been developing with wordpress for over 2 years using the same basic template and plugins. It’s only in the last few weeks that this is an issue.

    Things I have ruled out.
    I have tried multiple browsers to make sure it’s not a local browser caching issue.
    Tried Incognito in Chrome but changes are still not reflected. (I even deleted the main CSS file on the server but this was not reflected when hitting refresh??)
    Deleted CSS file on the server and refreshed in multiple browsers after clearing all local caches. CSS file is still downloaded or cached somewhere.
    NO cachings plugin (during development I had w3 Total cache DEACTIVATED but deleted the plugin to make sure)

    It seems to be cached for a limited time. If I hit refresh after 5 minutes then the changes are reflected? This is not really good as I change CSS’s all the time as I am a developer.

    It looks like WordPress is keeping a cache somewhere??? Does the new version of wordpress cache file?

    Any ideas would be really handy or how I could troubleshoot this issue using the chrome developer tools etc.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    1. Please provide a link to a page on your site where we can see this. Thanks.

    2. Where are you hosting your site?

    Thread Starter RayB56

    (@stryker56)

    Thanks heaps for replying.

    I am developing a site at the moment for a customer – the demo URL is – https://www.pswebsites.xyz/allproroofing.com.au/

    Other developing sites I am doing also has this issue.

    I am hosting with a company in Australia called Crazy Domains

    I hope you can help ??

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Check with the host. Some hosts doing caching at the server level, above wordpress in the stack. If so, there may be a button in the host’s control panel to clear or disable that ache.

    Thread Starter RayB56

    (@stryker56)

    Thanks. I’ve contacted the host and they say they don’t cache anything at all and changes should be seen immediately in incognito mode.

    Another clue is that if I refresh the incognito screen after a certain amount of seconds then I can see the changes.

    Here are my steps.
    1) Delete the main css file from the server
    2) Refresh the screen – the result is the website looks exactly the same
    3) Wait 30 seconds then refresh – the result is the website looks exactly the same
    4) Wait for just over 1 minute and hit refresh – Website now changes to reflect there is no CSS

    What system would cache the css file for 1 minute?? Do you have any ideas? I’m at a loss for this.

    Anyway, thanks for looking ??

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Check your .htaccess file — do you have any file persistence set there?

    Thread Starter RayB56

    (@stryker56)

    The only text in the .htaccess file is.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Would anything in there cause it?

    Thread Starter RayB56

    (@stryker56)

    Would KEEP ALIVE setting have something to do with it. I checked my site using this tool;

    https://varvy.com/pagespeed/

    And the “Keep Alive” was ENABLED.

    Would that keep a copy of the files for a short period of time?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Keep alive is just for the network connection. It wouldn’t matter for this. I’m (for the nonce) stumped.

    Thread Starter RayB56

    (@stryker56)

    THANKS heaps for your efforts. I might put a support call in with my hosting.

    Have a great Xmas Steve ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Weird Caching issue with no caching plugin’ is closed to new replies.