[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you use macros within footers, extra processing will usually be required on the server whilst those macros go off and get additional information from the database, etc.

Solution

Use the cache macro to cache your footer.

Expand
Example - Caching the footer
Example - Caching the footer

Let's say your footer contained this:

No Format
{some-macro} {another-macro}
some wiki text or whatever

You can cache that footer, on a page by page basis, as follows:

No Format
{cache:refresh=1d}{some-macro} {another-macro}
some wiki text or whatever{cache}

In the example shown above, the footer will be cached for 1 day for each page.

...