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.
The Search 404 module sometimes returns a 200 response. It would be nice if boost would not cache a page if the page_callback is seach404_page, even if a 200 is given. Also would allow for one to turn off boost for all views without having to specify all paths; I'm sure there are other examples where this would be useful.
Comment | File | Size | Author |
---|---|---|---|
#5 | boost-585152.1.patch | 751 bytes | mikeytown2 |
#4 | boost-585152.patch | 2.6 KB | mikeytown2 |
#2 | boost-585152.patch | 2.6 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedMove _boost_get_menu_router() call from boost_db_prep() to _boost_ob_handler(), pass $router_item, or make it a global.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedrouter item global, moved check into the init() hook. Eventually put a check in like the cacheability box/block thing; check goes into boost_is_cacheable().
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted; would like to see an textarea input, allowing one to disable caching of by content type and/or path (see blocks code).
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedGuess this can be done in the cacheability textarea with the php filter.
Fix spelling error
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedhelps to upload the right file.
Comment #6
dbeall CreditAttribution: dbeall commentedworks like a champ. had to go get the module and stick it in. trying to get a cached copy.. no luck.
another cool feature.
used browser history no luck, back button, no luck... good to go
Comment #7
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted
Comment #9
shortspoken CreditAttribution: shortspoken commentedSorry to reopen this, but I encountered the same problem in Drupal 7. Hasn't this been ported/taken over to Drupal 7 version?
Boost: 7.x-1.0-beta3+15-dev
Search 404: 7.x-1.3
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedI believe that the fast 404 module is recommended for this issue now.