update_rss_feed: use DiskCache to store feed data
This commit is contained in:
5
classes/cache/adapter.php
vendored
5
classes/cache/adapter.php
vendored
@@ -9,6 +9,11 @@ interface Cache_Adapter {
|
||||
* @return int|false -1 if the file doesn't exist, false if an error occurred, size in bytes otherwise
|
||||
*/
|
||||
public function get_size(string $filename);
|
||||
|
||||
/**
|
||||
* @return int|false -1 if the file doesn't exist, false if an error occurred, timestamp otherwise
|
||||
*/
|
||||
public function get_mtime(string $filename);
|
||||
/**
|
||||
* @param mixed $data
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user