Cache invalidation problem

Home Forums Calendar Products Events Calendar PRO Cache invalidation problem

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1223153
    Josh
    Participant

    We discovered a problem in your code that causes the internal cache to be invalidated quite frequently.

    In the attached image, (Cache_Listener.php)on line 58, you will see the problem.

    If the current option name IS NOT tribe_last_post_save, it updates that option to current timestamp. So, on any update on any option that happens, and caches fail, as current time is never in the cache.

    So this forces a db query and invalidates the cache on every option update.

    This is not very efficient and has caused us a great deal of pain.

    Can you please confirm our findings and publish a fix? We would prefer to not have to modify the plugin files ourselves.

    Thanks!

    #1223785
    George
    Participant

    Hey Josh,

    Thanks for reaching out and for reporting this. I will certainly be in dialogue with our developers about your claims so that we can verify them and start working on a fix.

    In the meantime, though:

    1. Can you please clarify what specific plugin you’re referring to here? Are you referring to The Events Calendar, for example? Or Events Calendar Pro?

    2. Next, can you please clarify what version of this plugin you’re referring to?

    Thank you,
    George

    #1224677
    Josh
    Participant

    PRO Version 4.3.4

    #1225300
    George
    Participant

    Thanks Josh.

    That version of our plugins is out-of-date, so my first recommendation here would be as follows:

    1. Update The Events Calendar to version 4.4.1 on your site.

    2. Update Events Calendar Pro to version 4.4.1 on your site.

    3. Update WordPress itself to version 4.7.1 if it’s not already at that version.

    4. Have another look at these issues and let us know if they still persist in the same way.

    Thanks!
    George

    #1225530
    Josh
    Participant

    I updated the events calendar, but there is no automated way to update the pro and add on options directly from WP?

    #1226322
    George
    Participant

    Updating automatically should be possible if you have entered your license keys, but if that is not working then you will need to use the methods described in this guide: https://theeventscalendar.com/knowledgebase/manual-updates/

    — George

    #1243033
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Cache invalidation problem’ is closed to new replies.