CMS Settings not saving (Caching Issue)

  caching, content-management-system, laravel, php, settings

I’m having a slight issue with my control panel using Statamic. If I make a change to my settings such as changing a toggle from on to off, it says that it was saved successfully. If I then refresh the page it reverts back to what it was before (on). If I then refresh the page again it then changes back to what I wanted it to be (off). The changes are being made successfully, however, I feel like this is a cacheing issue and when I refresh the page, it is just displaying the previous view. Although I’m able to change the settings successfully, this is not ideal and may cause confusion. When running on my local, everything works as expected but when I go to my staging environment, that’s when the issues kick in. Any help would be appreciated as to what yous may think is causing this issue.

Source: Laravel

Leave a Reply