From ffc3d393e52e3c0d62e23dbd6fdc8fe695ca96ee Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 20 Sep 2024 23:25:38 +0200 Subject: SimplePie support for HTTP cache policies (#6812) * SimplePie support for HTTP cache policies Discussion in https://github.com/FreshRSS/simplepie/pull/26 * Bump SimplePie commit * Typos * Typos * Simpler logic * Explicitly disable cache for non-GET flows * Bump SimplePie commit * Bump SimplePie commit * Bump SimplePie commit * Bump SimplePie commit --- app/Models/Feed.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Models') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 7b6fda7b6..b9afa9e83 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -612,6 +612,7 @@ class FreshRSS_Feed extends Minz_Model { */ private function simplePieFromContent(string $feedContent): \SimplePie\SimplePie { $simplePie = customSimplePie(); + $simplePie->enable_cache(false); $simplePie->set_raw_data($feedContent); $simplePie->init(); return $simplePie; -- cgit v1.2.3