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
CacheHeadersCheck::check() method checks that correct caching headers are present. Method should return EnvironmentCheck::WARNING if validation result messageType is ValidationResult::TYPE_WARNING. Necessary to add additional check for message type.
GuySartorelli
changed the title
TODO: CacheHeadersCheck::check(). Add ability to return a warning
Add ability to return a warning instead of error when checks fail
Oct 25, 2023
Description
CacheHeadersCheck::check()
method checks that correct caching headers are present. Method should returnEnvironmentCheck::WARNING
if validation resultmessageType
isValidationResult::TYPE_WARNING
. Necessary to add additional check for message type.See:
silverstripe-environmentcheck/src/Checks/CacheHeadersCheck.php
Lines 92 to 96 in af5eb42
The text was updated successfully, but these errors were encountered: