---
updatedAt: 2026-04-16T20:20:57.000Z
agentTools:
  projectIndex: https://snipe-it.readme.io/llms.txt
---

# Clearing the Config Cache

Snipe-IT will try to cache your `.env` file variables for re-use to speed things up a bit, if you run the `php artisan config:cache` command. That's awesome, but if you forgot that you cached your config settings, make a change to your `.env`, and don't see the changes reflected, that can be really confusing.

To clear out these config settings and cache your updated settings, simply run:

<br />

```
# Clear existing config cache and then re-cache the config settings
$ php artisan config:clear
$ php artisan config:cache
```

> 🚧 Note:
>
> Some servers will require you to restart the webserver before changes to your config will take effect.

<br />