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

[Resolved] Cache Control with Simple Membership Pages

Simple Membership Plugin › Forums › Simple Membership Plugin › Cache Control with Simple Membership Pages

Tagged: Cache

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 4 months ago by mbrsolution.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 19, 2020 at 12:00 am #21779
    Martin
    Participant

    I have Simple WordPress Membership set up, and for this test all other plugins have been deactivated. Theme is Astra.

    I visit a page where I need to login to view content, but once logged in it serves up the cached version not the logged in version.

    Details:

    When I visit the page logged out, iIt sends these headers:

    HTTP/2 200 OK
    date: Fri, 18 Dec 2020 23:54:15 GMT
    server: Apache
    link: <https://www.?.com/wp-json/>; rel=”https://api.w.org/&#8221;, <https://www.?.com/wp-json/wp/v2/pages/180>; rel=”alternate”; type=”application/json”, <https://www.?.com/?p=180>; rel=shortlink
    cache-control: max-age=600
    expires: Sat, 19 Dec 2020 00:04:15 GMT
    vary: Accept-Encoding,User-Agent
    content-encoding: gzip
    content-length: 7745
    content-type: text/html; charset=UTF-8
    X-Firefox-Spdy: h2

    I click the login link.
    I return to that page where I needed to log in (that send the headers above)
    It still shows the logged out view
    Browser reports it got the page from cache not the server
    I need to hit F5 to get the logged in content.

    December 19, 2020 at 12:36 am #21780
    Martin
    Participant

    Ah sorry, looks like this is a hosting provider settings issue. I had a play and changing from PHP 7.4 Fast CGI to PHP 7.4 CGI in the Dreamhost setup for the domain seems to have fixed it.

    December 19, 2020 at 4:55 am #21781
    mbrsolution
    Moderator

    I am happy to know you solved your own issue.

    Enjoy the plugin.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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