Documentation Index
Fetch the complete documentation index at: https://docs.sacul.cloud/llms.txt
Use this file to discover all available pages before exploring further.
FiveM Cache setup
sCloud FiveM Cache helps your players download FiveM resources through an edge cache instead of pulling every file directly from your game server. The dashboard does most of the setup for you. You only need your public Cfx.re server ID, then you copy two generated lines intoserver.cfg.
FiveM Cache is a paid subscription product. There is no free forever plan, but the Solo plan includes a 7-day trial.
Before you start
You need:- An active FiveM Cache subscription or trial
- A FiveM server listed on Cfx.re
- Access to edit your server’s
server.cfg - A public connection endpoint on your Cfx.re listing
Find your Cfx server ID
Your Cfx server ID is the short code used by Cfx.re for your server. Examples:daxy53abc123
Register your server
- Open the FiveM Cache dashboard.
- Click Add server.
- Enter your Cfx server ID.
- Click Find server.
- Review the server name, owner, players, tags, and detected endpoint.
- Keep the generated sCloud server slug or edit it if needed.
- Click Register this server.
Add the generated config
Copy the generated block from the dashboard into yourserver.cfg:
- Save
server.cfg. - Restart your FiveM server.
- Join the server once to start warming the cache.
- Open the dashboard analytics after the first requests.
How cache purging works
When you purge a FiveM Cache server, sCloud invalidates old cached files by moving the server to a new cache version. This means the next player requests fetch fresh resources from your FiveM server, while old cached objects can expire naturally in storage.Analytics
The dashboard shows:- Requests per registered server
- Cache HIT, MISS, and origin error counts
- Bandwidth served through the cache
- Estimated origin bandwidth saved
- Average response time
- Top file extensions
- Origin response statuses
| Plan | Analytics retention |
|---|---|
| Solo | 14 days |
| Community | 30 days |
| Network | 90 days |
Plan features
| Plan | Servers | Features |
|---|---|---|
| Solo | 1 | Instant purge, 14-day analytics |
| Community | 3 | Instant purge, cache preload, 30-day analytics |
| Network | 10 | Cache preload, scheduled refresh, priority support, 90-day analytics |
Cache preload and scheduled refresh may appear as unavailable until the backend support is enabled for your plan.
Troubleshooting
sCloud cannot detect a public endpoint
If setup says no public connection endpoint was detected, check your FiveM server listing and configuration. sCloud reads the publicconnectEndPoints value from Cfx.re. If Cfx.re does not expose it, the dashboard cannot safely register the server automatically.
Players still download from the origin
Check that both lines are present inserver.cfg:
Players are stuck while connecting
If players get stuck during server connection, open the FiveM console with F8 on the player client. FiveM usually prints the download or fileserver error there. Common causes:- The public endpoint detected from Cfx.re changed after registration.
- A firewall, DDoS protection, reverse proxy, or Cloudflare rule is blocking sCloud cache requests to your origin endpoint.
- The Cfx server key was rotated in the Cfx.re portal, which can change the server ID used for registration.
- Open your FiveM Cache server in the dashboard.
- Click Refresh Cfx metadata.
- If Cfx reports a different endpoint, review it and update the origin if it is correct.
- Try connecting again and check the FiveM F8 console for the latest error.
I rotated the adhesive key
After rotating the key in the dashboard, copy the newadhesive_cdnKey into server.cfg and restart the server.
The old key stops being valid after rotation.