Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UPSTREAM] SimplePie Cache constantly updating #94

Open
DouglasAR01 opened this issue Sep 20, 2024 · 0 comments
Open

[UPSTREAM] SimplePie Cache constantly updating #94

DouglasAR01 opened this issue Sep 20, 2024 · 0 comments

Comments

@DouglasAR01
Copy link

Hi. I noticed the cache system wasn't working for this package. Looking at the code I found it is using the SimplePie cache system.
As mentioned in this issue simplepie/simplepie#830 it's a problem with SimplePie v1.8. Maybe in the next release of SimplePie it is already solved.

As a workaround, I'm using the Feed::make() with the Laravel cache system and the config/feed.php with 'cache.disabled' => true.

Here is a little snippet of how I'm using the Laravel cache, if you are interested:

$feed = Cache::get('rss_feed');
if (!$feed) {
      $feed = FeedsFacade::make(['src1', 'src2', ...], 2);
      Cache::put('rss_feed', $feed, 3600);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant