Title: Different code output when logged in
Last modified: January 18, 2022

---

# Different code output when logged in

 *  Resolved [manishtechnians](https://wordpress.org/support/users/manishtechnians/)
 * (@manishtechnians)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/different-code-output-when-logged-in/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdifferent-code-output-when-logged-in%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/different-code-output-when-logged-in/#post-15264549)
 * Hello [@manishtechnians](https://wordpress.org/support/users/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? [](https://i0.wp.com/i.imgur.com/IpPGzPM.png?ssl=1) Thanks!
 *  Thread Starter [manishtechnians](https://wordpress.org/support/users/manishtechnians/)
 * (@manishtechnians)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/different-code-output-when-logged-in/#post-15270941)
 * Hi marko, I did what you’ve mentioned above but the problem is still there.
    
   Please check this url [https://technians.com/google-audience/](https://technians.com/google-audience/)
 * When logged in, it works fine, shows datatables Option
    [https://prnt.sc/26g30mx](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](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/different-code-output-when-logged-in/#post-15272151)
 * Hello [@manishtechnians](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/different-code-output-when-logged-in/#post-15272151)
 * Status: resolved