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 /statfileslevel and /gracePeriod Dispatcher configuration parameters.
  • You need Adobe’s recommended minimum values for /statfileslevel and /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.

  1. 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

  2. For official documentation and sample files, refer to the Dispatcher downloads page:

  3. Adobe’s recommendations for minimum values:

    • /statfileslevel: A value of 2 or higher is recommended as a guideline. This is also reflected in the Dispatcher Optimizer Tool documentation (statfileslevel property should be > = 2).

    • Setting /statfileslevel to 2 means 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 is 2 seconds, 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.

  4. For further Dispatcher configuration best practices, consult the Dispatcher configuration documentation.

recommendation-more-help
experience-cloud-kcs-help-kbarticles