Home › Forums › Calendar Products › Events Calendar PRO › Cache invalidation problem
- This topic has 7 replies, 4 voices, and was last updated 9 years, 2 months ago by
Josh.
-
AuthorPosts
-
January 24, 2017 at 12:29 pm #1223153
Josh
ParticipantWe 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!
January 25, 2017 at 9:27 am #1223785George
ParticipantHey 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,
GeorgeJanuary 26, 2017 at 1:32 pm #1224677Josh
ParticipantPRO Version 4.3.4
January 27, 2017 at 10:43 am #1225300George
ParticipantThanks 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!
GeorgeJanuary 27, 2017 at 6:54 pm #1225530Josh
ParticipantI updated the events calendar, but there is no automated way to update the pro and add on options directly from WP?
January 30, 2017 at 10:56 am #1226322George
ParticipantUpdating 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
February 21, 2017 at 8:35 am #1243033Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Cache invalidation problem’ is closed to new replies.
