π˜Ύπ™€π™£π™›π™žπ™œπ™ͺπ™§π™žπ™£π™œ π™˜π™–π™˜π™π™š π™šπ™­π™˜π™‘π™ͺπ™¨π™žπ™€π™£π™œ 𝙧π™ͺπ™‘π™šπ™¨:

I’m looking for advice on configuring Breeze and Varnish. I currently have a membership site behind a paywall which I don’t want to cache but I’d like to add a cached blog that is not part of the membership section and has static content.

My questions relate to the exclusion rules.

  1. I’d prefer to exclude pages from the cache as the default - but it looks as though this is not an option?

  2. The documentation for Breeze suggests to me that I will need to input the full url of pages I want to exclude, is that the case?or can I put in relative references such as mysite.com/membership/ and that will cover mysite.com/page1 and mysite.com/pag2 etc?

  3. The documentation for Varnish suggests to me that I can use the relative referencing noted above, is that the case?

You can exclude the urls which not to be cache in Nerve Cache Url option under Advanced Option tab in Breeze. You can exclude the pages using wild card functionality like mysite.com/page(.*)

WP Rocket has an option to create a separate cache for each member who logs onto your membership site.

Thanks for the info. I couldn’t see details about wildcards jn the docs. Do you have a link?

Thanks, I use LifterLMS and they had a lengthy video interview with the lead developer at WP rocket, so it’s an option I may consider in the future. At present I’ve decided to skip past cacheing the LMS side of things as requiring to much of my time to get it right. to be honest I’d rather go down the route of something like the server side cacheing I use on my Linode lightspeed site. I may also be moving away from Wordpress if I can find a cost effective solution to member authentication on a static site.
But for now I just want to add a cached blog without incurring the headache of caching errors on my lms.