Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Save and continue on entry edit shows previous version when static caching turned on #1468
With Static caching turned on using "half measure".
Hitting "Save and continue" on and entry edit screen in the CP should show the version of the content you have just saved.
After the save happens you are jumped to the top of the page, the green save confirmation is displayed but when you scroll down the content is the same as when you first loaded the edit screen.
Refreshing the browser shows the latest saved content.
Turning off static caching solves the problem.
Steps to reproduce
Updated from an older Statamic or fresh install:
I did try prior to reporting but I think in my initial tests I turned on "Update the Stache on every request" when I turned off static caching.
I've checked again and this actually appears to be just related to "Update the Stache on every request".
So, regardless of the static cache setting, if "Update the Stache on every request" is off, that is when I see this behaviour.
(Shall I update the issue title?)