openstax-cms icon indicating copy to clipboard operation
openstax-cms copied to clipboard

Enhance cache clearing on save to cover more content

Open edwoodward opened this issue 3 years ago • 3 comments

Description

Some items in the CMS are not cleared from the cache when saved. Examples are the Feature Flags and the General Pages. The cache should clear these specifically like it is doing for the pages, footer, sticky note and other content.

Acceptance Criteria

The cache should be cleared when these items are saved

  • General pages
  • Feature Flags
  • Others will be added

edwoodward avatar Jul 28 '22 19:07 edwoodward

I noticed that clearing the cache doesn't seem to be working for the Kinetic homepage. I'm having to use the "Settings->Clear Cloudfront Cache" link in order for my changes to appear.

This happens on both dev, staging, & prod environments.

This may be due to the kinetic page not living under general, instead it's at /kinetic, however I do still see it cached even when accessing it at /general/kinetic

nathanstitt avatar Jul 28 '22 19:07 nathanstitt

Verified in QA for Feature Flag.

brittanyearly avatar Aug 23 '22 18:08 brittanyearly

Verified in Staging.

brittanyearly avatar Aug 31 '22 20:08 brittanyearly

Verified in Production.

brittanyearly avatar Sep 09 '22 18:09 brittanyearly