|
|
|
Issue Links:
|
Dependency
|
|
|
|
This issue will be resolved by:
|
|
MDL-18973
Move youtube/flickr tag blocks away from magpie cache
|
|
|
|
|
|
|
|
Especially with things like:
$CFG->repository_cache_expire
I want to use $foo = new curl(array('cache' =>true)); for things which aren't the respository API so we should make this unspecific to repository and more a general file cache (or allow repository/different things have different time-outs)
|
|
Description
|
Especially with things like:
$CFG->repository_cache_expire
I want to use $foo = new curl(array('cache' =>true)); for things which aren't the respository API so we should make this unspecific to repository and more a general file cache (or allow repository/different things have different time-outs) |
Show » |
|
I created an options: module_cache for curl class to specify a subclass in cache to store cache files, for example:
$c = new curl(array('cache'=>true, 'module_cache'=>'repository'));
Added a new admin config: curlcache(server/performance), repository_cache_expire has been renamed as repositorycacheexpire.