• Resolved manishtechnians

    (@manishtechnians)


    Hi there,
    We’re using W3 Total Cache plugin on our website.
    We’re facing a big problem that, once we update our code in files, it reflects in private window where we’re not logged in, but it displays different output(Cached) in normal window where we’re logged in.
    we’ve tried it on different devices and different browsers, please help us how can we fix it.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @manishtechnians

    Thank you for reaching out and I am happy to assist you with this.
    Can you please make sure that caching and minify are not enabled for logged-in users?
    Also, I can see that you enabled the option “Prevent caching of objects after settings change” in Performance>General settings.
    Have you Updated the Media query string and purged the cache?

    Thanks!

    Thread Starter manishtechnians

    (@manishtechnians)

    Hi marko, I did what you’ve mentioned above but the problem is still there.
    Please check this url
    https://technians.com/google-audience/

    When logged in, it works fine, shows datatables Option
    https://prnt.sc/26g30mx

    But when you open it without login, it shows error in console that Datatables is not defined.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @manishtechnians

    Thank you for the information.
    It appears that the jquery is deferred.
    Can you please try to exclude that page from being minified in Performance>Minify>Advanced>Never Minify following pages?
    Simply add:
    /google-audience/
    Save all settings and purge the cache and see if the problem persists.
    Also, please share the screenshot of the Performance>Minify settings.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different code output when logged in’ is closed to new replies.