Browse Source

enable directory index cache

main
ghost 10 months ago
parent
commit
47ef17f818
  1. 2
      src/server.php

2
src/server.php

@ -262,7 +262,6 @@ $server->setHandler(
else if ($directory = $filesystem->getDirectoryPathByUri($_uri)) else if ($directory = $filesystem->getDirectoryPathByUri($_uri))
{ {
// Check for cached results // Check for cached results
/*
if ($content = $memory->get('/')) if ($content = $memory->get('/'))
{ {
$response->setContent( $response->setContent(
@ -271,7 +270,6 @@ $server->setHandler(
return $response; return $response;
} }
*/
// Init reader // Init reader
$reader = new \Yggverse\Gemini\Dokuwiki\Reader(); $reader = new \Yggverse\Gemini\Dokuwiki\Reader();

Loading…
Cancel
Save