mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-14 06:39:01 +02:00
Deploying to gh-pages from @ RSS-Bridge/rss-bridge@a9fd3b9e61 🚀
This commit is contained in:
parent
e25e7459c4
commit
04bd325aef
43 changed files with 43 additions and 46 deletions
|
@ -100,7 +100,7 @@
|
|||
<div class="Page__header">
|
||||
<h1><a href="../Cache_API/index.html">Cache API</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../Cache_API/CacheInterface.html">CacheInterface</a></h1>
|
||||
<span class="ModifiedDate">
|
||||
June 10, 2023 at 6:16 PM </span>
|
||||
July 5, 2023 at 8:37 AM </span>
|
||||
<span class="EditOn">
|
||||
<a href="https://github.com/RSS-Bridge/rss-bridge/tree/master/docs/07_Cache_API/02_CacheInterface.md" target="_blank">
|
||||
Edit on GitHub </a>
|
||||
|
@ -134,9 +134,6 @@
|
|||
<pre><code class="language-PHP">saveData(mixed $data): self
|
||||
</code></pre>
|
||||
<h2><a id="the-gettime-function" href="#the-gettime-function" class="Permalink" aria-hidden="true" title="Permalink">#</a>The <code>getTime</code> function</h2>
|
||||
<p>This function returns the last write time for the cache, or <code>false</code> if the cache does not yet exist. Please notice that ‘cache’ refers to one specific item in the cache repository and might require additional data to identify a specific item (introduce custom functions where necessary!).</p>
|
||||
<pre><code class="language-PHP">getTime(): int, false
|
||||
</code></pre>
|
||||
<h2><a id="the-purgecache-function" href="#the-purgecache-function" class="Permalink" aria-hidden="true" title="Permalink">#</a>The <code>purgeCache</code> function</h2>
|
||||
<p>This function removes any data from the cache that is not within the given duration. The duration is specified in seconds and defines the period between now and the oldest item to keep.</p>
|
||||
<pre><code class="language-PHP">purgeCache(int $duration): null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue