A lightweight and automated FiveM script that allows servers to use LocLix CDN for resource caching.
It handles automatic configuration, smart cache purging, and includes a manual force-purge command for full control when required.
- π§ Self-configuration β Automatically links your server resources to LocLix CDN.
- β‘ High-speed caching β Delivers resources through LocLix's optimized CDN edge network.
- π§Ή Automatic cache purging β Detects updates and clears outdated assets on its own.
- π¨ Manual force purge command β Allows admins to instantly clear CDN cache with a simple command.
- π¦ Plug-and-play integration β Drop it in, configure once, and let it run.
-
Download or clone this repository into your FiveM
resourcesfolder. -
Ensure the resource is started before any other resources that should be cached.
-
Add the following to your
server.cfg:ensure lxcache add_ace resource.lxcache command.fileserver_add allow add_ace resource.lxcache command.fileserver_remove allow