Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Handle this in _boost_ob_handler(). Do and else for _boost_get_http_status() == 404 || 403
if ($GLOBALS['_boost_cache_this'] && _boost_get_http_status() == 200 && strlen($buffer) > 0) {
Comment | File | Size | Author |
---|---|---|---|
#6 | boost-543840.patch | 8.21 KB | mikeytown2 |
#1 | boost-543840.patch | 2.99 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedif it's not a 200, kill it.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedNeed to get this code working again; I commented it out since it didn't work too well. But with the new cache expiration logic in place, this should be doable now.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedComment #6
mikeytown2 CreditAttribution: mikeytown2 commentedComment #7
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted