Odd browser refresh problems

  • Unknown's avatar

    I’ve got a WordPress + WooCommerce website that sometimes rapidly refreshes in all browsers (Chrome, Edge, Brave) until you clear the browser cache.

    It will work again, then after a few weeks, rapidly refresh again. I’ve turned off plug-ins on the main site, disabled CDN, and tested entering via different pages.

    What works is going directly into the WordPress admin page. A logged-in user doesn’t typically have the same problem. But they don’t get front-end scripts.

    Troubleshooting is difficult because deleting the local browser cache fixes the problem. Deactivating and then reactivating plugins doesn’t show the problem.

    What tools do you recommend to approach this? I have other sites with similar plugins that don’t have this problem. Any ideas on troubleshooting?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Network tab: Monitor network requests to identify any errors, redirects, or long-running processes that might be causing refreshes.
    Console tab: Check for JavaScript errors or warnings that could trigger refreshes.
    Application tab: Examine local storage, cookies, and cached data for potential conflicts.
    Temporarily disable caching plugins: Test if the issue persists without their influence.
    Clear cache thoroughly: Use plugin-specific tools to clear all cached data, including minified CSS/JS files, page cache, and object cache.
    Configure caching rules: Ensure caching plugins are configured correctly for your setup, especially for dynamic content or logged-in users.
    Review error logs: Look for indications of errors, conflicts, or resource exhaustion that might cause unexpected behavior.
    Check access logs: Identify unusual patterns or excessive requests that could contribute to refreshes
    Theme switch: Temporarily switch to a default WordPress theme like Twenty Twenty-Three to rule out theme-related conflicts.
    Plugin deactivation: Isolate the issue by incrementally deactivating plugins, starting with recently added or updated ones.
    Browser developer tools: Use breakpoints and step-through execution to pinpoint problematic JavaScript code.
    Disable JavaScript: Temporarily test if the issue disappears without JavaScript to narrow down potential causes.
    Review scripts: Identify any third-party scripts (analytics, tracking, advertising) that might be interfering with page functionality.
    Consider removing or optimizing: If possible, remove unnecessary scripts or optimize their loading to reduce impact.

  • Unknown's avatar

    Wow, that’s really comprehensive. Thanks. I’m still working on the issue.

  • The topic ‘Odd browser refresh problems’ is closed to new replies.