From dcd1fccd7eb615b9e775ba0933bf6c16841c610e Mon Sep 17 00:00:00 2001 From: Daniel Stieber Date: Sun, 13 Dec 2020 10:54:31 +0100 Subject: [PATCH] fixed imgur image --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d98fd2..56b1537 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,6 @@ $coda = new CodaPHP('', true); // Instance with activated cachin By default, the cache will expire after 7 days. You can manually change the expiry time. ```PHP $coda = new CodaPHP('', true, 86400); // Activate caching and set cache to 1 day (in seconds) -$coda = new CodaPHP('', true, -1); // Activate caching wihtout expiration ``` You can also clear the cache manually ```PHP @@ -182,7 +181,7 @@ if(isset($_GET['clearCache'])) { } ``` Now you can add a "open hyperlink"-button in your doc that opens https://yourdomain.com/?clearCache. After clicking the button the website will receive the latest data and saves it in the cache again. -[Imgur](https://i.imgur.com/it4rkxV.png) +![clear cache button](https://i.imgur.com/it4rkxV.png) ## Changelog ### 0.2.0 (December 13, 2020)