Skip to content
/ lxcache Public

A lightweight FiveM script to connect your server to the LocLix CDN for resource caching

License

Notifications You must be signed in to change notification settings

LocLix/lxcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ LocLix FiveM CDN Integration

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.


✨ Features

  • πŸ”§ 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.

πŸ“₯ Installation

  1. Download or clone this repository into your FiveM resources folder.

  2. Ensure the resource is started before any other resources that should be cached.

  3. 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

About

A lightweight FiveM script to connect your server to the LocLix CDN for resource caching

Resources

License

Stars

Watchers

Forks

Languages