Skip to main content
FiveMesh Cache is a resource download proxy for FiveM servers. Players download resources through a FiveMesh cache URL. Cache hits are served from FiveMesh. Cache misses are fetched from your origin once, then reused until you purge or refresh the cache version.

Prerequisites

Before you enable Cache, confirm:
  • The active workspace has trial or subscription access.
  • The cfx.re server is registered in Account > Servers.
  • You can edit your server’s server.cfg.
  • Your organization role can create Cache configuration if you are in an organization workspace.

Enable Cache

1

Open Cache

In the dashboard sidebar, open Cache.
2

Choose a registered server

In the Servers tab, find the registered server you want to cache.
3

Enable Cache

Click Enable Cache.
4

Copy the setup block

Copy the generated server.cfg block immediately.The block includes a fileserver_add line and an adhesive_cdnKey secret.
5

Update server.cfg

Paste the block into your server configuration and restart or reload your server according to your normal deployment process.
Example shape:
fileserver_add ".*" "https://cache.fivemesh.gg/YOUR_SERVER_ID/files"
adhesive_cdnKey "YOUR_SECRET_KEY"
The adhesive key is only shown when it is created or rotated. If you lose it, rotate the key from Cache settings and update server.cfg.

Origin URL

FiveMesh detects an origin for the registered cfx.re server. In most cases, keep the detected origin. Change the origin URL only when the detected address is not the address Cache should use for resource downloads.

Next steps