WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API
Home / FAQ / How to use a Cache Plugin with Measurement Widget + Multi Currency Widget + Login

How to use a Cache Plugin with Measurement Widget + Multi Currency Widget + Login

7421 views

When using cache plugins in WordPress (such as WP Rocket or WP Fastest Cache), it is important to understand that these plugins cache not only pages, but also cookies.

Caching cookies can break dynamic functionality, because cookies store user-specific or session-based data.

Common features affected by cached cookies include:

  • Multi-currency switching
  • Multiple measurement systems
  • User-specific data (favorites, login state)

If these cookies are cached, visitors may see incorrect, outdated, or mixed data between users.

Why specific cookies must be excluded from cache

To ensure dynamic features work correctly, the following cookies must be excluded from page caching:

Cookie name Purpose
my_custom_curr Stores the selected currency
my_custom_curr_pos Stores currency symbol position
my_custom_curr_symbol Stores currency symbol
is_user_logged_in Indicates whether the user is logged in
wpestate_favorites Stores user favorite properties

Example: Excluding cookies in WP Fastest Cache

  1. Go to your WordPress dashboard.
  2. Navigate to WP Fastest Cache → Exclude.
  3. In the Exclude Cookies section, add the following cookies, one per line:
 my_custom_curr my_custom_curr_pos my_custom_curr_symbol is_user_logged_in wpestate_favorites

Example: Excluding cookies in WP Rocket

In WP Rocket, go to Settings → Advanced Rules → Never Cache Cookies and add the same cookie names listed above.

After updating cookie exclusions, always clear your cache and test the site in a new incognito window to confirm that dynamic features work correctly.

FAQ

Related Articles

  • FAQ: Add Listing Page Layout Looks Broken in WP Rentals Admin
  • XML Feeds and Property Synchronization
  • Elementor editor returns Page not Found or There has been a critical error on this website
  • FAQ – Can I edit or change booking dates after a reservation is made?

HELP CATEGORIES

  • 71. General
  • 102. Installation & Basic Setup
  • 393. How Booking Works
  • 20Advanced Search
  • 18Elementor Free & WP Rentals Studio
  • 13Email Notifications
  • 14FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 27Multi-Languages - 3rd party
  • 33Owner & Renter
  • 9Page Templates
  • 23Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 98Technical how to
  • 5Third Party plugins
  • 3Translation
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 13WP Rentals Payments
  • 79WP Rentals Theme Options

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WPRentals
  • WPEstate
  • API