Version 4.0.3 breaks caching, 4.0.2 works fine
-
when updating to 4.0.3 my caching snippet stops working and my feed no longer updates.
-
Hi @copiaguelibrary,
Can you share more details about where this is happening? What is a caching snippet?
I am not entirely sure its this, but I do know that after updating my feed it does not update anymore. what ever is on the page stays there.
php snippet
bweb_feedzy_cache_duration
- This reply was modified 2 years, 1 month ago by copiaguelibrary.
Hi @copiaguelibrary,
Thank you for the insights; let us look into this, and we will get back to you.
Hi @copiaguelibrary,
We have rolled out a fix that we think might fix your issue.
Let me know how it goes.
Hi,
Thanks for looking into it. I just tried the latest update 4.0.4 and I am still experiencing the same issue as with 4.0.3. I rolled it back to 4.0.2 which is working just fine.Thanks
Hey @copiaguelibrary,
Sorry for the delayed reply, Could you please provide us with the Feed URL that you are using so that we can check it on our end and have a close look?
Thanks and have a nice day!
i think it has to with this,
function bweb_feedzy_cache_duration( $feedCacheDuration, $feedURL ) {
if( ‘https://copiague.librarycalendar.com/events/feed/rss’ == $feedURL )
return 60*5; //5 minutesreturn $feedCacheDuration;
}
add_filter( ‘wp_feed_cache_transient_lifetime’, ‘bweb_feedzy_cache_duration’, 10, 2 );`Hi @copiaguelibrary,
Thanks for providing the URL!
Our developers are currently working on a fix for this and hopefully it will be included in the next version of Feedzy.
Thank you for your patience!
ok, thanks for taking the time to troubleshoot.
hello,
I saw the new update 4.0.5 this morning and I updated. unfortunately I am still experiencing the same results. I have rolled back again to 4.0.2 again which seems to work fine. thanks for taking the time to try and figure this out.Hi @copiaguelibrary,
Thank you for the update and I’m sorry to hear this release of the plugin didn’t help with changing the cache interval. Would it be possible to share the source you are using so we can test the plugin behavior with it? Maybe this source doesn’t have new content every 5 minutes, for example.
Looking forward to hearing from you.
my rss url, would this be the source ?
https://copiague.librarycalendar.com/events/feed/rss
strange that it works fine with 4.0.2.
Hi @copiaguelibrary,
I’m following up on this issue as I did some tests with the source you mentioned and the following code snippet being added in the functions.php file of the theme.
function bweb_feedzy_cache_duration( $feedCacheDuration, $feedURL ) { // Set cache duration for specific feeds only. if ( 'https://copiague.librarycalendar.com/events/feed/rss' == $feedURL ) { return 60 * 5; // 5 minutes } return $feedCacheDuration; } add_filter( 'wp_feed_cache_transient_lifetime', 'bweb_feedzy_cache_duration', 10, 2 );
`
I can’t spot any difference in the content fetched by the different versions of the plugin.
Feedzy 4.0.2: https://neve.stefancoti.com/feedzy-free/
Feedzy 4.0.5: https://feedzy.stefancoti.com/feedzy-free/Would it be possible to share a concrete example of a post being fetched faster with Feedzy 4.0.2? I noticed the average time when the source has new content is every two hours. In this case, both pages I shared get the new content at the same time, which is immediate once the new content is available, according to the feeds listed from this source on the site of the Simple Pie library, https://simplepie.org/demo/. For the past days, while monitoring this, I didn’t see more posts on the Simple Pie demo compared to the two instances I used for the test that gets the new content simultaneously.
Regards,
Stefan- This reply was modified 2 years ago by Stefan Cotitosu.
wow thanks for taking the time. what my main issue is when an event ends for example its 3pm – 4pm with 4.0.2 it removed from my feed about 20-30 mins after with the browser left open to the page and I do a refresh. Now with 4.0.3-4.0.5 it just sits there and nothing happens with a refresh only when you open the webpage on a uncached browser will you get the new events. hopefully that makes sense ?
thanks
Hi @copiaguelibrary,
It makes sense but based on our tests it doesn’t occur.
Can you try to spin a test instance with Feedzy set up where it occurs? For example here – https://tastewp.com/If you can also replicate the issue on a test instance, we will kindly ask you to share credentials with our support team via email so we can check what we’re doing differently.
Thank you!
- The topic ‘Version 4.0.3 breaks caching, 4.0.2 works fine’ is closed to new replies.