Don't anonymize users on *certain* pages
-
Hello,
Thank you for the wonderful plugin!
I run a website that has many logged-in users. For my anonymous visitors, WP Super Cache keeps the site running super quick. For the logged-in users, however, it runs painfully slow.
I’m working on a modified version of the site that will serve cached pages to everyone using the “Make known users anonymous so they’re served supercached static files” option, and then loading all user-specific info via AJAX.
This was going great, until I hit a major hiccup. I use a front-end user management plugin (for greater customization and to keep users out of WordPress entirely), so users get to their profile information by visiting
/profile
. I know that I can setDONOTCACHE
on this page, but I’m having a larger problem: WP Super Cache tells the page the user isn’t logged in, so/profile
tries to send them to the login page on the back end. However, the login page knows they’re already logged in, so it tries to send them back to the/profile
page on the front end.And on and on until the browser gives up.
Here’s what I’m wondering: just like I can turn off caching for specific pages, can I turn off the “Make known users anonymous so they’re served supercached static files” option for certain pages? This way I could leave
/profile
alone, and everything else would work harmoniously.I’m at a total gridlock until I figure this out. There’s no point in me continuing to work on anonymizing the website if users can’t get to their own profile pages.
Thank you so much for your help!
- The topic ‘Don't anonymize users on *certain* pages’ is closed to new replies.