---
** [tickets:#8497] ForgeMarkdown speedup**
**Status:** in-progress
**Milestone:** unreleased
**Labels:** performance
**Created:** Tue Feb 07, 2023 02:46 PM UTC by Dave Brondsema
**Last Updated:** Tue Feb 07, 2023 02:46 PM UTC
**Owner:** Dave Brondsema
`g.forge_markdown` constructs a new `ForgeMarkdown` with a lot of extensions
every time it is used. This can be a bit expensive. Re-using the same
instance would probably require updates/fixes to some of our custom extensions.
But lots of times `cached_convert` is used and gets a cached result so a full
Markdown instance doesn't even need to be created then.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.