QuestionQ35

VerifiedStore Operations and Admin

An Architect is configuring preload_keys for Redis on an Adobe Commerce on-premises instance.

The Architect determines that the following cache keys load on every frontend request: EAV_ENTITY_TYPES, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE, and SYSTEM_DEFAULT.

The id_prefix for frontend => page_cache is set to 061_.

The id_prefix for frontend => default is not set.

The Architect has enabled and configured Redis L2 caching.

How should preload_keys be configured?

Explanation

Redis L2 cache preloading requires the complete Redis key name, including the 061_ prefix, and the :hash suffix. L2 synchronizes the version hash rather than preloading the data value itself, so the four frequently loaded keys must be specified as 061_EAV_ENTITY_TYPES:hash, 061_GLOBAL_PLUGIN_LIST:hash, 061_DB_IS_UP_TO_DATE:hash, and 061_SYSTEM_DEFAULT:hash.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!