I am not sure if Shaun McCormick as the author of wayfinder is reading this thread, too. But if yes, is it possible to implement a parameter to protect wayfinder from clear cash on saving a resource?
For example:
[[Wayfinder? &protectcacheonsave=`1`]]
The reason why I ask this is: On our website (> 1.000 webpages) creating the menu by wayfinder takes about 2-3 seconds (in cached status it takes far less than one second). When we make a little correction on one single page (e. g. correct a misspelled word/add a question mark in a sentence ...) and save this page afterwards the reload of all our > 1.000 webpages took very long for the first visitor because of creating the menu again by wayfinder what is definitely not necessary because we didn´t change any part of the menu.
Do you therefore think it is possible to implement a parameter to the wayfinder-call which will avoid to clear the cached menu on saving a single page? By implementing such a new parameter the cached menu will only be cleared by manually clicking on 'clear cache'.
What do you think of such an additional parameter?
Thanks again for your great work on modx ...
Letti