Title: Cache issue
Last modified: May 18, 2024

---

# Cache issue

 *  Resolved [simonavshalom](https://wordpress.org/support/users/simonavshalom/)
 * (@simonavshalom)
 * [2 years ago](https://wordpress.org/support/topic/cache-issue-64/)
 * Thank you guys for great and usufull plugin! I have an issue with cache system
   and Dynamiv visibilliy.
 * In some scenarios the cache save the static HTML for the page with old condition.
 * For example, i have 2 containers that i set with dynamic visibillity plugin to
   show the first one when user logged in and hide the second and vise versa. But,
   I fact when I go to page for the first time as a non logged in user and then 
   login it still show me the version of non logged in users. and it working fine
   after clearing cache with wp rocket.

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

 *  Plugin Author [Dynamic.ooo](https://wordpress.org/support/users/dynamicooo/)
 * (@dynamicooo)
 * [2 years ago](https://wordpress.org/support/topic/cache-issue-64/#post-17768324)
 * Hi!
   Can you configure WP Rocket’s advanced rules to avoid caching URLs that depend
   on dynamic conditions?
 *  Thread Starter [simonavshalom](https://wordpress.org/support/users/simonavshalom/)
 * (@simonavshalom)
 * [2 years ago](https://wordpress.org/support/topic/cache-issue-64/#post-17768646)
 * Thank you for your reply. Ofcourse I can’t avoid caching for specifiec URL’s 
   but this is not my goal, I want to make my site faster and not sacrifice speed
   for dynamic visibility. If so then I would build a custom script that hides it.
   But I’m looking for the solution from the plugin. Maybe the way is to check the
   conditions that are placed in the plugin that will receive current data with 
   the help of a JS and then avoid the page to save cache
 *  Plugin Author [Dynamic.ooo](https://wordpress.org/support/users/dynamicooo/)
 * (@dynamicooo)
 * [2 years ago](https://wordpress.org/support/topic/cache-issue-64/#post-17770583)
 * > But, I fact when I go to page for the first time as a non logged in user and
   > then login it still show me the version of non logged in users
 * Hi!
   This seems to indicate a problem in your cache. This is not how the cache
   is supposed to work. This makes us realise that we are not the cause of this 
   problem.

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

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

 * ![](https://ps.w.org/dynamic-visibility-for-elementor/assets/icon.svg?rev=2602514)
 * [Dynamic Visibility for Elementor](https://wordpress.org/plugins/dynamic-visibility-for-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-visibility-for-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-visibility-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-visibility-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-visibility-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-visibility-for-elementor/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 3 replies
 * 2 participants
 * Last reply from: [Dynamic.ooo](https://wordpress.org/support/users/dynamicooo/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/cache-issue-64/#post-17770583)
 * Status: resolved