1
0
Fork 0
forked from blallo/rss-bridge
rss-bridge/lib
LogMANOriginal 8ba817478b
Implement customizable cache timeout (#641)
* [BridgeAbstract] Implement customizable cache timeout

The customizable cache timeout is used instead of the default cache
timeout (CACHE_TIMEOUT) if specified by the caller.

* [index] Add new global parameter '_cache_timeout'

The _cache_timeout parameter is an optional parameter that can be
used to specify a custom cache timeout. This option is enabled by
default.

It can be disabled using the named constant 'CUSTOM_CACHE_TIMEOUT'
which supports two states:

> true: Enabled (default)
> false: Disabled

* [BridgeAbstract] Change scope of 'getCacheTimeout' to public

* [html] Add cache timeout parameter to all bridges

The timeout parameter only shows if CUSTOM_CACHE_TIMEOUT has been set
to true. The default value is automatically set to the value specified
in the bridge.

* [index] Disable custom cache timeout by default
2018-03-14 18:06:36 +01:00
..
Bridge.php [Bridge] Remove superfuous variables and statements 2017-08-06 00:04:07 +02:00
BridgeAbstract.php Implement customizable cache timeout (#641) 2018-03-14 18:06:36 +01:00
BridgeInterface.php Implement customizable cache timeout (#641) 2018-03-14 18:06:36 +01:00
Cache.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
CacheInterface.php [cache] Specify cache duration for 'purgeCache' 2016-10-08 16:18:10 +02:00
contents.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
error.php [core] Fix typos 2016-11-09 19:10:40 +01:00
Exceptions.php exception: Use built-in HTTP response codes 2017-08-06 12:55:11 +02:00
FeedExpander.php [FeedExpander] Fix Serialization of 'SimpleXMLElement' is not allowed 2017-08-10 13:35:19 +02:00
Format.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FormatAbstract.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
FormatInterface.php [FormatInterface] Add missing public functions 2016-11-09 18:41:24 +01:00
html.php Implement customizable cache timeout (#641) 2018-03-14 18:06:36 +01:00
RssBridge.php [phpcs] Add missing rules 2017-07-29 19:55:12 +02:00
validation.php [validation] Fix error on undefined optional numeric value 2017-08-17 19:02:50 +02:00