Skip to content

A free, self-hostable news aggregator…

Réduction durée cache SimplePie

Alexandre Alapetitef1ae155a3c15
diff --git a/app/models/Feed.php b/app/models/Feed.php
index 3877c5b33..7f53d7be8 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -201,6 +201,7 @@ class Feed extends Model {
$feed->set_feed_url ($url);
$feed->set_cache_location (CACHE_PATH);
+ $feed->set_cache_duration(1500);
$feed->strip_htmltags (array (
'base', 'blink', 'body', 'doctype',
'font', 'form', 'frame', 'frameset', 'html',