Page cache

From VYRE

Jump to: navigation, search

Unify has a powerful multi-level page cache support. It offers three levels of caching:

  • Page caching: caching a whole page.
  • Content area caching: caching an individual content area on a page.
  • Portlet caching: caching an individual portlet in a specific content area on a page.

All three levels can be employed at the same time, with different expiry times and triggers. So for example, you could build a page where the navigation areas are stored in permanent cache, the main content area is not cached at all, and the whole page uses a dynamic cache which is flushed every Sunday at midnight.

Image:Page-ContentArea-Portlet.png

Configuring page element cache

Each cacheble element of a page; the page, content area or portlet, have the same type of configuration screen, as seen in the image below.

Image:Cache_settings.png

There are four options for types of caching:

  • Not cached
  • Static - this means the output of the section is only rendered once, and will after that always look exactly the same to everyone.
  • Dynamic cache - means the cache will be stored according to the flushing rules below
  • Dynamic cache for each user - is the same as above except each different user will have cache stored for it separately. This functionality was introduced in Unify 4.5. If you are using a previous version this feature will not be available.

The option to exclude from surrounding cache is to make this specific element excluded by a higher level elements cache, for instance if selected for a uncached portlet on a dynamic cache page, the portlet can change for every request even if the rest of the page comes from cache. This option is not available for the page. This functionality was introduced in Unify 4.5. If you are using a previous version this feature will not be available.

Ignoring cache for certain users

This functionality was introduced in Unify 4.5. If you are using a previous version this feature will not be available.

Note you can configure a specific User group to ignore all cache on a specific Site. In the Publishing > Sites > Site edit screen choose "Actions ... / No Cache Groups". Simply tick the box next to the groups you want to ignore cache, and click save.

See Also

Personal tools