Home | 2.7.3 Command interface | Consume-subfragments


2.7.4 DynaCache full page caching

Full page caching is exactly what it sounds like: the HTML output of an entire page is cached as a single entity. You configure full page caching by specifying the consume-subfragments property and setting its value to true in your <cache-entry> definition for the servlet or JSP.

The advantage of using full page caching with the Commerce controller servlet is performance. The disadvantage is that if this mechanism is used, then the page output cannot contain any personalized information. If the cached page did contain personalized information, then users see another user's cached information and not their own. In the following sections we show you how to use the consume-subfragments tag and the do-not-consume tag to allow you to cache a full page except the portions that are cached as fragments.

+

Search Tips   |   Advanced Search