mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #2048] [MERGED] chore: Prevent users from caching Config #1731
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/2048
Author: @rmartinoscar
Created: 12/24/2025
Status: ✅ Merged
Merged: 12/28/2025
Merged by: @rmartinoscar
Base:
main← Head:chore/disableConfigCache📝 Commits (1)
faaa18cPrevent users from caching Config📊 Changes
5 files changed (+39 additions, -3 deletions)
View changed files
➕
app/Console/Commands/Overrides/ConfigCacheCommand.php(+19 -0)➕
app/Console/Commands/Overrides/OptimizeCommand.php(+18 -0)📝
app/Filament/Admin/Pages/Settings.php(+0 -1)📝
app/Livewire/Installer/PanelInstaller.php(+0 -2)📝
app/Traits/EnvironmentWriterTrait.php(+2 -0)📄 Description
Closes #2018
When config is cached every plugin config is null cause they use
env(), I couldn't find anyway to circumvent this so i skipped config caching entirely.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.