Changes for page Cache

Last modified by Thomas Mortagne on 2018/05/30 10:38

From version 29.1
edited by Thomas Mortagne
on 2018/05/30 10:31
Change comment: There is no comment for this version
To version 30.1
edited by Thomas Mortagne
on 2018/05/30 10:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,15 +20,15 @@
20 20  def protectedXWiki = xwiki.getXWiki()
21 21  def cachedDocument = protectedXWiki.getDocument(documentReference, xcontext.context)
22 22  
23 -println '= Cached document'
23 +println '= Cached document ='
24 24  
25 25  documentInfos(cachedDocument)
26 26  
27 -println '= Original cached document'
27 +println '= Original cached document ='
28 28  
29 29  documentInfos(cachedDocument.originalDocument)
30 30  
31 -println '= Database document'
31 +println '= Database document ='
32 32  
33 33  def databaseDocument = protectedXWiki.hibernateStore.loadXWikiDoc(new com.xpn.xwiki.doc.XWikiDocument(documentReference), xcontext.context)
34 34