I would lik to ad dthis to the docs but i am not sure how the best setup is. First how i think it works.

1.) For example i set a minimum lifetime of 4 hours and a maximum of 1 day.
2.) I add/edit a new page. The new page will appear after 4 hours (someone visits a page and triggers poormans cron) because the whole cache of the whole site is cleared.

The whole regeneration is bad. So i want only the new/edited page to be generated/regenerated and not everything.

So i need the expire module and use the boost crawler for this? right? there is no other way?

Comments

Anonymous’s picture

Yes/ no, the expire module and the crawler would do what you want and either expire the page or the family of interconnected paged so you could set a massive expiry for cron and only ever regenerate pages you had edited.

However a new page would be added to the site immediately, but may not be joined to the other pages as these could be served from a one day old cache unless you were to install the expire and crawler components.

There is the option also to have for administrators a flush cache menu item, so if you didn't want to install expire and the crawler, you could add the page and then flush the cache of the page linking to it.

marcoka’s picture

So i would write this:

There are two methods to clear the booche cache.

Manually

You can manually clear the whole cache. There is the option also to have for administrators a flush cache menu item, so if you didn't want to install expire and the crawler, you could add the page and then flush the cache of the page linking to it.

Using the Boost Crawler and the Expire Module

Boost has a crawler submodule. That can recreate pages that have been changed/edited. The advantage of using this is that you can se the maximum/minimum cache time to very high values like a year. If you add or edit a page, only that page is created/recreated and all interconnected pages.

Anonymous’s picture

BGM does the documentation. Personally I think that the crawler should be renamed to something else like auto flusher, though that sounds too much like a toilet :0