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. - You or your host can edit firewall and DDoS protection rules for the origin machine.
- 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.
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.Allow FiveMesh to reach your origin
FiveMesh fetches cache misses from your origin through Cloudflare’s network. Game host firewalls and DDoS protection often filter data center traffic while allowing player traffic. If the origin machine or your host protects the fileserver port, allow Cloudflare’s published IP ranges on that TCP port before you enable Cache. The current ranges are listed at cloudflare.com/ips.If the machine runs several FiveM servers, apply the same rule to every
fileserver port. Protection rules that cover only one port cause download
errors for the other servers.
Next steps
- Manage purge, origin and key rotation from Cache operations.
- Review troubleshooting if players cannot connect after Cache is enabled.
- Register missing servers from Account servers.