# How to Clear the Cache on Your FiveM Server (/docs/fivem/clear-cache)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Clearing the server cache forces FiveM to rebuild cached resource data on next startup. Do this after adding/removing resources, updating server artifacts, or when experiencing resource loading errors.

Clear the Server Cache [#clear-the-server-cache]

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop the server.
  </Step>

  <Step>
    Delete the cache folder [#delete-the-cache-folder]

    Click **Files** in the sidebar. Open the `cache/` folder in the server root. Delete all subfolders inside it.
  </Step>

  <Step>
    Start the server [#start-the-server]

    Start from **Console**. The cache rebuilds automatically on startup.
  </Step>
</Steps>

When to Clear Cache [#when-to-clear-cache]

* After adding or removing resources
* After updating server artifacts
* When resources fail to load or throw asset errors
* After major framework updates (ESX/QBCore)

Client-Side Cache [#client-side-cache]

If a **player** has issues (textures missing, scripts not loading), they need to clear their local FiveM cache:

1. Close FiveM completely
2. Navigate to `%localappdata%\FiveM\FiveM.app\cache\`
3. Delete the subfolders inside `cache/` (not the entire FiveM.app folder)
4. Relaunch FiveM

Related Guides [#related-guides]

* [Server Configuration](/docs/fivem/configure-your-server)
* [Install Resources](/docs/fivem/install-resources)
