Title: cache issue
Last modified: February 26, 2018

---

# cache issue

 *  [andrew55](https://wordpress.org/support/users/andrew55/)
 * (@andrew55)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/cache-issue-24/)
 * When using plugin with W3 Total Cache, menu links get cached, negating whole 
   purpose of plugin. For example, it would be nice to have “login” menu link for
   logged out users, and “logout” link for logged in users. But when using cache,
   this doesn’t work properly (as expected).
 * Is there a method to have menu links load with ajax, so that these links do not
   get cached? Or is there is another method to prevent cache? Thanks for any suggestions.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/cache-issue-24/#post-10065980)
 * Hi Andrew,
 * The functionality of these 2 plugins is to do the opposite thing that the other
   does.
    **If Menu** tries to check different variables to see if a section should
   be displayed or not, when **W3 Total Cache** creates just one static version 
   of the page for all visitors.
 * It’s a bit tricky to add functionality that loads menus on top of cached pages,
   as each theme implements the menus in different ways, and even plugins sometime
   change the menu behaviour.
 * We’re looking more into this and will update here if the plugin will get this
   functionality.
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘cache issue’ is closed to new replies.

 * ![](https://ps.w.org/if-menu/assets/icon-256x256.png?rev=1862232)
 * [If Menu - Visibility control for Menus](https://wordpress.org/plugins/if-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/if-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/if-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/if-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/if-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/if-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei](https://wordpress.org/support/users/andreiigna/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/cache-issue-24/#post-10065980)
 * Status: not resolved