You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the contributing guideline and understand that I have made the correct modifications
Description:
Enable the mod_expires Apache module, and configure it to request that image files are expired from the browser cache after 5 minutes (max-age=300).
Benefits of this PR and context:
Currently, preview graphs are returned with max-age=14400 in the Cache-Control HTTP response header. This means that preview graphs persist in the browser cache, and a forced reload is the only way to refresh them. This PR enables the mod_expires Apache module and configures it to request that image files are expired from the browser cache after 5 minutes (max-age=300).
How Has This Been Tested?
Container builds and runs successfully. Images now have max-age=300 set in the Cache-Control HTTP response header, according to the browser developer console.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Enable the
mod_expiresApache module, and configure it to request that image files are expired from the browser cache after 5 minutes (max-age=300).Benefits of this PR and context:
Currently, preview graphs are returned with
max-age=14400in theCache-ControlHTTP response header. This means that preview graphs persist in the browser cache, and a forced reload is the only way to refresh them. This PR enables themod_expiresApache module and configures it to request that image files are expired from the browser cache after 5 minutes (max-age=300).How Has This Been Tested?
Container builds and runs successfully. Images now have
max-age=300set in theCache-ControlHTTP response header, according to the browser developer console.Source / References: