Details
-
New Feature
-
Resolution: Fixed
-
Major
-
7.0.1
-
None
Description
Building Velocity script is slow especially for the macros so if we could cache it a bit instead of redo it again and again that would be very nice for performances.
The main difficulty is that the macros are not in the tree generated by RuntimeServices.parse but are stored in the runtime service during the parsing. So we need to hack around Velocity internal to get the macros found during a parsing, put them in some cached object along with the tree and then find a way to inject those macros before executing the tree. (not a problem anymore)
Attachments
Issue Links
- blocks
-
XWIKI-21302 Compile Velocity templates
- Closed
- depends on
-
XCOMMONS-1296 Upgrade to Velocity 2.2
- Closed
- is related to
-
XWIKI-4625 Cache skins and filesystem templates
- Closed
-
XWIKI-21219 Add a preparation/compilation pass to the document content and title
- Closed