Skip to main content

How to Setup a Cache Proxy (Hosting)

After the cache proxy is created in the Game Panel (see How to Create a Cache Proxy (Hosting)), apply its hostname & CDN key to server.cfg.

1. Copy the Snippet from the Game Panel

  1. Open the CFX → Cache Proxy menu.
  2. On the cache proxy row, click the Setup Guide button.
  3. Copy the Cache Hostname and the displayed server.cfg snippet.

Cache proxy Setup Guide

2. Apply It to server.cfg

  1. Open the Files menu, then open server.cfg.
  2. Add the following two lines:
fileserver_add ".*" "http://myserver-a1b2c3d4.cache.raznar.id/files"
set adhesive_cdnKey "cdn_key_dari_panel"

🔧 Replace:

  • myserver-a1b2c3d4.cache.raznar.id → your Cache Hostname. Don't remove the /files part.
  • cdn_key_dari_panel → the CDN key shown in the Setup Guide.
  1. Click Save Content.

Adding the CDN configuration to server.cfg

3. Restart the Server

Restart the server through the Console menu. Once active, resources will be downloaded by players through the proxy.

4. Clear Cache (If Needed)

If a resource has been changed and players still receive the old version, open the CFX → Cache Proxy menu and click Clear Cache.

server.cfg snippet from the panel

note

Always use the hostname that appears in your panel, don't copy the example above.


Other Versions