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

mikeytown2’s picture

Category: support » feature

I 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...

OneTwoTait’s picture

Actually, 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.

mikeytown2’s picture

Title: Why doesn't Boost cache the add node forms? Why does it cache add node forms in other languages? » support i18n url prefixes in the boost_is_cacheable() function