VERY inefficient generate_sitemap function - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: VERY inefficient generate_sitemap function (/showthread.php?tid=2819) |
VERY inefficient generate_sitemap function - mvlcek - 2012-02-25 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. VERY inefficient generate_sitemap function - shawn_a - 2012-02-25 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: ooh, Is this why my page saves are taking forever now ? Or is that the new page cache ? VERY inefficient generate_sitemap function - ccagle8 - 2012-02-25 added it to the issue list. thanks http://code.google.com/p/get-simple-cms/issues/detail?id=301&thanks=301&ts=1330097071 VERY inefficient generate_sitemap function - n00dles101 - 2012-02-25 @shawn_a, how many pages on the site are we talking ? VERY inefficient generate_sitemap function - shawn_a - 2012-02-25 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 |