aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 7f52ba52f..af9c54719 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -497,7 +497,9 @@ class FreshRSS_Feed extends Minz_Model {
}
protected function cacheFilename() {
- return CACHE_PATH . '/' . md5($this->url) . '.spc';
+ $simplePie = customSimplePie($this->attributes());
+ $filename = $simplePie->get_cache_filename($this->url);
+ return CACHE_PATH . '/' . $filename . '.spc';
}
public function clearCache() {