Default and recommended /statfileslevel and /gracePeriod values in AEM Dispatcher
This article provides the official default values and Adobe’s recommended minimum settings for the /statfileslevel and /gracePeriod parameters in AEM Dispatcher.
Description description
Environment
Adobe Experience Manager (AEM) Dispatcher
Issue/Symptoms
- You need to confirm the default values for the
/statfilesleveland/gracePeriodDispatcher configuration parameters. - You need Adobe’s recommended minimum values for
/statfilesleveland/gracePeriod. - You need to determine how these values relate to cache invalidation and resource availability.
Cause
The need to validate official default values and recommended minimums for key Dispatcher parameters to ensure optimal cache invalidation and resource availability.
Resolution resolution
Follow the steps below to resolve the issue.
-
Review the default values in the Dispatcher configuration sample (
dispatcher.any) included with the latest Dispatcher release:-
/renders/timeout:0(commented out by default) -
/statfileslevel:0(commented out by default) -
/gracePeriod:2 -
/enableTTL:1
-
-
For official documentation and sample files, refer to the Dispatcher downloads page:
-
Adobe’s recommendations for minimum values:
-
/statfileslevel: A value of2or higher is recommended as a guideline. This is also reflected in the Dispatcher Optimizer Tool documentation (statfileslevel property should be>= 2). -
Setting
/statfileslevelto2means the cache invalidation will occur at the/content/folder level, which is a practical baseline. Adjust as needed based on your site structure and requirements. See Invalidating files by folder level. -
/gracePeriod: The recommended value is2seconds, as documented in the stat file throttling section. This setting defines how long automatically invalidated old resources remain available in the cache after the last activation. Adjust as needed based on testing and operational requirements.
-
-
For further Dispatcher configuration best practices, consult the Dispatcher configuration documentation.