We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 191e5b0 commit 6eaf0eaCopy full SHA for 6eaf0ea
.gitignore
@@ -6,7 +6,6 @@ data/
6
*.pydevproject
7
.project
8
.metadata
9
-bin/
10
tmp/
11
*.tmp
12
*.bak
bin/cache-clear
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env php
2
+<?php
3
+
4
+/**
5
+ * Remove all items from the cache
+ */
+require __DIR__ . '/../lib/bootstrap.php';
+$rssBridge = new RssBridge();
+$cache = RssBridge::getCache();
13
14
+$cache->clear();
bin/cache-prune
+ * Remove all expired items from the cache
+$cache->prune();
0 commit comments