Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

NonExistentStaleCacheHandling

Summary

This setting defines what happens when a requested cache file is already being generated and no expired cache file exists.

Usage

 

NonExistentStaleChacheHandling[<cache type>]=wait|generate

Description

This is a new setting available since eZ Publish 4.1. NonExistentStaleCacheHandling defines what happens when a requested cache file is already being generated and no expired cache file exists (for instance if the content is new). The second request can either wait for the first request to finish, or it can generate its own result to display without storing it.

Note that this is an advanced setting and should only be customized if it is specifically required.

There are two possible values:

  • The default value is "wait", which places the process in a wait loop for a limited time until the file is done generating.
  • The second value is "generate" which lets the requesting process generate its own data without storing the result.

Use the [key] to define the type of cache that is impacted by the setting. The following three cache types are allowed as key:

  • viewcache
  • cacheblock
  • misc: this is used for any cache that is not viewcache nor cacheblock.

This setting is case sensitive.

Examples

NonExistantStaleCacheHandling[viewcache]=wait
 
NonExistantStaleCacheHandling[cacheblock]=wait
 
NonExistantStaleCacheHandling[misc]=wait

Ester Heylen (19/11/2009 2:45 pm)

Ester Heylen (04/05/2010 11:05 am)


Comments

There are no comments.