• Resolved laptopsticker

    (@laptopsticker)


    I’m sick and tired of this.

    Every time I start developing a WordPress theme I have to deal with some mysterious cache that doesn’t go away.

    I don’t know how many hours now I’ve spent correcting code mistakes that I didn’t make just because I forgot that this crap happens even with CTRL + F5.

    It’s a fresh install with no cache plugins. Yet it’s still not refreshing html changes that I’ve made in the template.

    What is going on?

    Latest WP, self-made theme, Chrome browser.

    Sorry for swearing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Check with your hosting providers. Hosting providers can cache your website.

    Thread Starter laptopsticker

    (@laptopsticker)

    Thank you for the response. I will check.

    Thread Starter laptopsticker

    (@laptopsticker)

    You were right. Hosting side cache is active. Thanks again!

    Had to add this to my php file

    <?php opcache_reset(); ?>

    or this to my .htaccess file

    php_value opcache.revalidate_freq 0

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where The F*** Does this Cache come from?’ is closed to new replies.