Project

General

Profile

Actions

Feature #39228

closed

Hook to disable writing page cache

Added by Francois Suter almost 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
Start date:
2012-07-25
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:

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.


Files

Actions

Also available in: Atom PDF