diff --git a/src/RWFileCache.php b/src/RWFileCache.php index ba984df..771459f 100644 --- a/src/RWFileCache.php +++ b/src/RWFileCache.php @@ -72,6 +72,7 @@ public function set($key, $content, $expiry = 0) // Do not save if cache has already expired if ($cacheObj->expiryTimestamp < time()) { + $this->delete($key); return false; }