When saving the Performance Settings form the Global page expiration is being set to 0 which is causing the website cache to be turned off. This is happening because in form alter the 'page_cache_maximum_age' is being unset and the Core Performance form is checking if the value is set. So my proposal is to restrain only the access to the setting.

Leaving a patch that works.

CommentFileSizeAuthor
fix_cache_expiration_override.patch577 bytespedrodias10

Comments

pedrodias10 created an issue. See original summary.

pedrodias10’s picture

Assigned: pedrodias10 » Unassigned

  • steel-track committed f32dcbd on 8.x-1.x
    Issue #3011520 by pedrodias10: Settings form overrides cache expiration
    
steel-track’s picture

Status: Active » Fixed

Patch is committed. Thanks so much for catching this!

steel-track’s picture

Status: Fixed » Closed (fixed)