Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VERY inefficient generate_sitemap function
#1
I suppose I forgot to report this bug for 3.0, because I rarely use the sitemap feature, thus it's still there in 3.1:
You save the sitemap.xml n-times where n is the number of pages.
The exec_action and saving should be outside the page loop.

As the sitemap is now generated automatically (whenever a page is saved?), this should be fixed as fast as possible.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#2
mvlcek Wrote:I suppose I forgot to report this bug for 3.0, because I rarely use the sitemap feature, thus it's still there in 3.1:
You save the sitemap.xml n-times where n is the number of pages.
The exec_action and saving should be outside the page loop.

As the sitemap is now generated automatically (whenever a page is saved?), this should be fixed as fast as possible.

ooh,

Is this why my page saves are taking forever now ? Or is that the new page cache ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
added it to the issue list. thanks

http://code.google.com/p/get-simple-cms/...1330097071
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#4
@shawn_a, how many pages on the site are we talking ?
My Github Repos: Github
Website: DigiMute
Reply
#5
n00dles101 Wrote:@shawn_a, how many pages on the site are we talking ?
46
And by forever ( slightly exaggerated ) I mean 2-3 seconds more than 3.0
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)