Redis and membership sites…
-
Hey Till! Thanks for making such a great plugin.
So, I have this thing set up and running, and I was expecting to have to figure out which objects in my list I need to exclude in order to ‘not break’ my membership site. As I’m sure you know, some forms of cached content can get stale, and sometimes users will see the content generated from a different user in the cache creation process, if the right stuff isn’t excluded.
I’m writing because I can’t seem to make this thing ‘break’. Everything works perfectly on my membership site, and I have nothing excluded from my cache.
I have logged in as different users on different incogneto tabs, marked lessons as ‘complete’ to see if that data gets cached for a different user, I’ve tried to enter programs that I shouldn’t have access to, and I even created a new user with new course access and tested the login… in case old user data was being cached, which would have outdated access allowance data.
None of it breaks. Everything is working perfectly.
So, I guess I’m writing to ask you if I might be setting myself up for an epic failure. Or is there something happening behind the scenes that is allowing the object cache to refresh and update if the database is updated?
(I’d be happy to pay for some kind of support consultation if this is going beyond the scope!)
In case you’re interested, here’s the list of ‘objects’ being cached. I put a question mark next to ones that should possibly be excluded:
Global:
- blog-details
- blog-id-cache
- blog-lookup
- global-posts
- networks
- rss
- sites
- site-details
- site-lookup
- site-options
- site-transient
- users?
- useremail?
- userlogins?
- usermeta?
- user_meta?
- userslugs
- redis-cache
- blog_meta
- network-queries
- site-queries
- theme_files
- translation_files
- user-queries
Non-persistent:
- counts?
- plugins
- theme_json
- themes
But again, literally everything works! I can’t even make this thing break with everything cached.
I just want to know if I’m living in a fairy tale. Your expertise and time is much appreciated. Thank you!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.