• Resolved fightsmarttrav

    (@fightsmarttrav)


    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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Haha, funny post.

    I guess you could keep an eye on Redis using the Query Monitor plugin occasionally, or just making sure your Redis statistics look good.

    Ideally set up supervisord to ensure Redis Server is ALWAYS running.

    Thread Starter fightsmarttrav

    (@fightsmarttrav)

    Hey Till,

    Thanks for the reply!

    It’s been one month and one week, and I have not had a single support request about there being any kind of conflict from stale cached data. The performance increase has been ridiculous. Truly incredible results, so thank you again.

    I have installed supervisord and configured it to run Redis. Hopefully that helps keep things going smoothly!

    Thank you for the suggestion!

    Plugin Author Till Krüss

    (@tillkruess)

    Stoked to hear that. Feel free to copy that into a 5-star review 😉

    Thread Starter fightsmarttrav

    (@fightsmarttrav)

    Done! You da man, Till!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.