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.
I've noticed that Boost doesn't cache the forms for adding (creating) nodes for the default language. Why not? Could it?
I've also noticed that it does cache the node forms for the secondary language on my website.
Why would it cache forms in one language but not another?
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedI have it set to not cache the node/add path
<?php
function boost_is_cacheable($path) {
...
|| preg_match('!^node/add!', $normal_path)
...
}
Sounds like you want to be able to cache this correct? Also sounds like Boost needs to support i18n url prefixes in this function...
Comment #2
OneTwoTait CreditAttribution: OneTwoTait commentedActually, I don't need to cache those pages myself. It's fine for my purposes. I just thought this behaviour seemed inconsistent so it might be of interest to a Boost maintainer.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commented