When a menu item was added/edited/deleted the REST endpoint for the respective menu wasn't updated right away. This patch clears the REST endpoint page cache when that happens.

Comments

joe.corall created an issue. See original summary.

joecorall’s picture

Title: Clear menu's endpoint when a menu link is created/updated/deleted » Clear menu's endpoint cache when a menu item is created/updated/deleted
StatusFileSize
new1.89 KB
joecorall’s picture

StatusFileSize
new1.89 KB

 

joecorall’s picture

StatusFileSize
new2.37 KB

I wonder if the cache can be permanent now with this new cache invalidation strategy? Adding another patch that changes the cache time from one hour to permanent.

fabianderijk’s picture

Status: Patch (to be ported) » Needs work

Hi @joe.corall, could you create a full patch based on the current dev version? I think this would be a good fix.

joecorall’s picture

StatusFileSize
new2.37 KB

Hi @fabianderijk,

Sure thing! Attached is the updated patch.

Thanks!
Joe

joecorall’s picture

Status: Needs work » Patch (to be ported)
fabianderijk’s picture

Assigned: Unassigned » fabianderijk

fabianderijk’s picture

Status: Patch (to be ported) » Fixed

This is fixed in the upcoming 8.x-1.4 release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.