Changes for page Performance

Last modified by Thomas Mortagne on 2023/10/10

<
From version < 14.5 >
edited by Vincent Massol
on 2008/04/11
To version < 15.1 >
edited by Vincent Massol
on 2008/04/23
>
Change comment: Added robots.txt information + note on statistics

Summary

Details

Page properties
Content
... ... @@ -102,8 +102,47 @@
102 102  
103 103  Some Panels take more resources than others. For example the Navigation panel should NOT be used for wikis with a lot of documents since it displays all documents in the wiki. In the future that Panel should be improve for performances but that's not the case right. Originally this Panel was only meant as a starting point. A better approach is to use a Quick Links Panel as we've now set up in the default XWiki Enterprise wiki version 1.1 (we've removed the default usage of the Navigation Panel in that version).
104 104  
105 +1.1 Robots.txt
106 +
107 +If your wiki is open on the Internet, it'll be crawled by search robots (like GoogleBot, etc). They will call all the URLs and especially ones that are resource hungry like exports (PDF/RTF). You need to protect against this. To do so configure a <tt>robots.txt</tt> file like this one and put it in your webserver configuration:
108 +
109 +{code:none}
110 +User-agent: *
111 +Disallow: /xwiki/bin/xmlrpc/
112 +Disallow: /xwiki/bin/pdf/
113 +Disallow: /xwiki/bin/edit/
114 +Disallow: /xwiki/bin/inline/
115 +Disallow: /xwiki/bin/preview/
116 +Disallow: /xwiki/bin/save/
117 +Disallow: /xwiki/bin/cancel/
118 +Disallow: /xwiki/bin/delete/
119 +Disallow: /xwiki/bin/register/
120 +Disallow: /xwiki/bin/propupdate/
121 +Disallow: /xwiki/bin/propadd/
122 +Disallow: /xwiki/bin/propdelete/
123 +Disallow: /xwiki/bin/commentadd/
124 +Disallow: /xwiki/bin/objectremove/
125 +Disallow: /xwiki/bin/attach/
126 +Disallow: /xwiki/bin/upload/
127 +Disallow: /xwiki/bin/download/
128 +Disallow: /xwiki/bin/dot/
129 +Disallow: /xwiki/bin/delattachment/
130 +Disallow: /xwiki/bin/skin/
131 +Disallow: /xwiki/bin/login/
132 +Disallow: /xwiki/bin/loginerror/
133 +Disallow: /xwiki/bin/logout/
134 +Disallow: /xwiki/bin/status/
135 +Disallow: /xwiki/bin/lifeblog/
136 +Disallow: /xwiki/bin/viewrev/
137 +Disallow: /xwiki/bin/downloadrev/
138 +Disallow: /xwiki/bin/viewattachrev/
139 +Disallow: /xwiki/bin/export/
140 +{code}
141 +
105 105  1.1 Statistics
106 106  
144 +#info("This is no longer true starting with XE 1.4M2 since statistics are now put on a queue and written in a different thread in the database in one go, thus reducing the overhead to a maximum.")
145 +
107 107  The statistics module is off by default since it's quite Database intensive. If you don't need it you should turn it off.
108 108  
109 109  1.1 Monitoring
... ... @@ -150,3 +150,4 @@
150 150  1.1 Wiki syntax features
151 151  
152 152  If you don't plan to use all of the wiki features, like the --strikethrough-- filter, the automatic http links filter, the SVG, Laszlo or style macros, you can disable them in <tt>xwiki-core-\*.jar/META-INF/services/com.xpn.xwiki.render.\*</tt>. The wiki rendering is the most costly operation in the rendering process, so any disabled feature counts.
192 +
XWiki.XWikiComments[3]
Date
... ... @@ -1,1 +1,1 @@
1 -2008-04-11 19:31:33.526
1 +2008-04-11 19:31:33.0

Get Connected