mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Added Option to disable Cache. Debugging made easy.
This commit is contained in:
parent
24f401bb3c
commit
6e7adcee7d
1 changed files with 2 additions and 0 deletions
|
|
@ -1625,6 +1625,8 @@ EOF;
|
|||
|
||||
// File cache
|
||||
function file_cache($request) {
|
||||
|
||||
if(config('cache.off')) return;
|
||||
|
||||
$c = str_replace('/', '#', str_replace('?', '~', $request));
|
||||
$cachefile = 'cache/page/' . $c . '.cache';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue