getCacheOptions

This method is used to control caching options for pages that run through you render hook. For instance, if you don't want any pages to be cached then you can control that by setting the appropriate option in the return object.

Recite gathers the cache options of all render hooks and uses the "least" of these. For example, if one render hook allows caching for 2 hours and another allows for caching of only 1 hour, then the lesser of these is used (1 hour).

Note

If a page is cached then when a page is subsequently re-requested and served from page, then the bootstrapping process is completely skipped. That is, your render hook script(s) won't be executed for a cached page.