Anyone using s2Member on a site hosted by Dreampress? Is your Varnish cache broken?

[ad_1]

I am having a conflict between s2Member and Varnish cache used by Dreampress. When s2Member is enabled, caching is totally broken.

I contacted both services, but no solution so far. Is anyone else experiencing the same?

[ad_2]
1 Comment
  1. I think there are some more modern caching plugins that can handle caching for logged-in users, and I believe some of those will also help mitigate Varnish caching in those circumstances.

    But the big problem is that almost by-definition membership plugins either shouldn’t be cached or else they should be cached very carefully. In the simplest case without membership-aware caching either non-members can see members-only content, or else members will see cached non-member content. In worse cases the site may load incorrect scripts based on the wrong assumptions about what is and isn’t cached.

    I’m pretty sure WP-Rocket has automatic and/or manual configuration settings for the major membership plugins. I’m not sure about really old-school membership plugins like s2Member. More likely you’re going to have to turn off Varnish or at least write exceptions for membership-related pages.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer