You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Information on how to use the fragments cache.
Description
Transclusions are slow. For every transclusion at least one other document has to be accessed and the transcluded part has to be rendered. If the transcluded part also transcludes information from other pages, this calculation will reasonably slow down the rendering time of a document.
In order to support teams that use transclusions heavily, projectdoc provides a fragments cache that stores prerendered fragments in a database. This feature is available for projectdoc version 1.9.0+ and is currently only provided for the use of the Transclusion Macro.
When to use?
The fragment cache should be used if your team works on a space collaboratively and uses transclusions heavily.
It is important to note that the cache does its caching per site and not per user! Therefore content put to the cache by one user may reveal information that is usually not available to another user. Therefore you must make sure that the cache is only used for spaces where users have the same page access privileges!
Resources
More information on this topic: