Skip to main content
Use the FiveMesh Cache API when a server-side integration needs to operate resource cache state for registered FiveM servers. Cache is configured per registered server. The dashboard generates the server.cfg block that contains fileserver_add and adhesive_cdnKey.

Common operations

OperationDescription
Read cache stateInspect whether Cache is enabled for a registered server.
Rotate adhesive keyGenerate a replacement key for server.cfg.
Purge resourcesRefresh cached resource downloads after a deployment.
Preload resourcesWarm selected resources before player traffic reaches them.
Read observabilityReview hit, miss and origin behavior for cache operations.

Server ownership

Cache operations require access to the workspace that owns the registered cfx.re server. If a server is shared with an organization, create the service key in the organization resource context and grant only the Cache permissions the automation needs.