Bruno
Bruno

Reputation: 1138

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?

Upvotes: 1

Views: 59

Answers (1)

phy25
phy25

Reputation: 101

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.

Upvotes: 1

Related Questions