http-cachingdokuwiki

dokuwiki leverage http cache header


I need to make a dokuwiki content cachable by an http client. I've searched in the doc. and in the plugin list and found nothing about this behaviour.

Do you know if it exists?


Solution

  • According to the maintainer of DokuWiki in https://www.freelists.org/post/dokuwiki/HTTP-caching-confusion,2, DokuWiki makes use of PHP session to do CSRF prevention and breadcrumbs. Once a page is session dependent, it can no longer be cached by PHP's default header output.

    However, You can write a plugin yourself of course.