Issue Feature Closed

#39228Hook to disable writing page cache

Francois Suter 07/25/12, 08:58 updated 10/23/17, 22:12

Description

There are possibilities – like well-known extension nc_staticfilecache – to write the pages to special caches, like static HTML files. When using such a system, it does not make sense to write those same pages’ cache to the selected cache backed. OTOH disabling the whole page cache (by writing it to the Null backend, for example) is not a solution as we still want to cache the pages that were not handled by the extra handling (typically pages with USER_INT objects).

I propose adding a hook in tslib_fe::realPageCacheContent() that performs a check whether the page cache should be set or not.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.