How to Set Up a Cache Proxy (VPS)
After the cache proxy is created in the VPS Panel (see How to Create a Cache Proxy (VPS)), apply its hostname & secret key to server.cfg.
1. Copy the Snippet from the VPS Panel
- Open the CFX Cache Proxy page in the VPS Panel.
- Click the Info button on the proxy card.
- Switch to the FiveM Guide tab, then copy the snippet shown.

2. Apply It to server.cfg
- Open the Files menu, then open
server.cfg. - Add the following two lines:
fileserver_add ".*" "https://myserver-a1b2c3d4.cache.raznar.id/files"
adhesive_cdnKey "secret_key_dari_panel"
🔧 Replace:
https://myserver-a1b2c3d4.cache.raznar.id/files→ your proxy hostname. Do not remove the/filespart.secret_key_dari_panel→ your proxy's Secret Key.
- Click Save.

3. Restart the Server
Restart the server via the Console menu. Once it is active, resources will be downloaded by players through the proxy.
4. Clear Cache (If Needed)
If a resource has been changed and players are still receiving the old version, open the CFX Cache Proxy page in the VPS Panel and click Clear Cache.
note
Always use the hostname that appears in your panel, do not copy the example above.