Membership Cache Configuration
-
Suppose you have a membership website that generates 2 types of pages per post:
- The page with the membership wall.
- The page with the content.
How do you configure a cache vary for the following purposes?
- Serve page 1 to to requests that
- do not contain authentication headers.
- fail to authenticate.
- Serve page 2 to requests that contain authentication headers and authenticate successfully.
Furthermore, how can we serve the pages from a CDN such as QUIC.cloud?
- How to perform authentication from the CDN level (without involving host server)?
Here are solutions that I can find from https://blog.litespeedtech.com/2017/12/13/wpw-choosing-between-public-cache-private-cache-and-esi. These don’t work for the following reasons:
- Public Cache works on the public page 1, but not membership pages.
- Private Cache works for both, but creates cache of page 2 per member which isn’t good.
- ESI can’t be served without bypassing CDN to host to finish the template.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Membership Cache Configuration’ is closed to new replies.