Permissions 

Administrators are able to run cache warmup for all available sites and pages. All other users are by default not allowed to run those tasks. Thus, they cannot see both the cache warmup toolbar item and context menu items.

However, you can use User TSconfig to allow cache warmup for specific users/usergroups and sites/pages. Add the following configuration to the options.cacheWarmup User TSconfig:

allowedSites

allowedSites
Path

options.cacheWarmup.allowedSites

type

string (comma-separated list)

Provide a comma-separated list of site identifiers. Those sites can then be warmed by the backend user.

Example:

options.cacheWarmup.allowedSites = my-dummy-site,another-dummy-site
Copied!

allowedPages

allowedPages
Path

options.cacheWarmup.allowedPages

type

string (comma-separated list)

Provide a comma-separated list of pages. Those pages can then be warmed by the backend user. Pages can be suffixed by a + sign to recursively include all subpages.

Example:

options.cacheWarmup.allowedPages = 1,2,3+
Copied!