On 11/2/2011 10:23 PM, swartz wrote:
I recently took over support for a large website that uses Radiant.
Over 1000 pages and added/edited all the time.
The site has a sitemap page, which shows all of the available
The sitemap is generated using the navigation_tags extension:
<r:nav root="/" depth="4" expand_all="true" />
It takes forever (~25sec) to generate that one page due to the
recursive nature of the calls.
Are there any faster alternatives to this extension?
Open to any suggestions...
If the site doesn't change too frequently and is managed by a very small
number of people, it may be worthwhile to generate the sitemap and then
use it as a static page. Don't render it on demand - just use the
static version - when the site changes, access the dynamic sitemap page
again to create the new sitemap and use the output to update the static
It's not pretty, but it works.
12/2/2011 | 7:00 PM.