Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] LS Cache and SM. How do I cache?

Simple Membership Plugin › Forums › Simple Membership Plugin › LS Cache and SM. How do I cache?

Tagged: LS Cache

  • This topic has 1 reply, 2 voices, and was last updated 1 year, 1 month ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 16, 2025 at 2:21 am #30247
    GregW
    Participant

    If I have LS Cache and have pages that are restricted do I have to add those pages to the exclude from caching? I don’t want the site to load a cached page if it will display content to a non member.

    I have already added the logon, registration, profile etc pages to not cache.

    Thanks

    April 16, 2025 at 4:32 am #30248
    admin
    Keymaster

    Excluding protected content from caching is generally the best approach. This ensures that visitors see content based on their access permissions. A cached page cannot dynamically apply membership-level restrictions, so for the most accurate results, it’s best to exclude all membership-related pages from caching. That’s the approach I personally recommend and use.

    However, if your site is on a shared hosting plan that struggles under load, your hosting provider may strongly encourage the use of caching. In such cases, using cookie exclusion is a good compromise. With this method, you can configure the caching plugin to skip serving cached pages if a specific cookie (such as: wp_swpm_in_use) is present. This way, logged-in members will still see the correct content based on their membership level, avoiding confusion caused by cached pages.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy