aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-09-20 23:25:38 +0200
committerGravatar GitHub <noreply@github.com> 2024-09-20 23:25:38 +0200
commitffc3d393e52e3c0d62e23dbd6fdc8fe695ca96ee (patch)
tree816269f95975896b4151392fc29f3f7360157df7 /app
parentdd606141555880822ad9ae650bd2bb68cbb01692 (diff)
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
Diffstat (limited to 'app')
-rw-r--r--app/Models/Feed.php1
1 files changed, 1 insertions, 0 deletions
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;