Opened 2 years ago

# The macro needs to be faster

Reported by: Owned by: Ryan J Ollos Ryan J Ollos normal WantedPagesMacro normal performance

### Description

The whole set of wiki pages is parsed each time the macro loads. This makes the macro slow, and it becomes unreasonably slow, often resulting in server timeouts, when there is a lot of wiki content.

Here is a plan to fix that:

• Save the wanted pages in the database.
• Add a TracAdmin command to initialize the database.
• Reparse each page when it changes, using IWikiChangeListener