[wp-trac] Re: [WordPress Trac] #3614: Scaling issue with hundreds
of pages
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 4 00:25:04 GMT 2007
#3614: Scaling issue with hundreds of pages
--------------------------+-------------------------------------------------
Reporter: markjaquith | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.4
Component: Optimization | Version: 2.0.7
Severity: critical | Resolution:
Keywords: needs-patch |
--------------------------+-------------------------------------------------
Comment (by ryan):
I did a little housekeeping. We were saving page and attachment rules in
the options DB as page_uris and page_attachment_uris. This is not needed
now that we cache the entire rewrite rule set to the options DB.
page_uris and page_attachment_uris are now gone. I also added an option
to force use of a generic set of wildcard page rules. Set
WP_Rewrite::user_verbose_rewrite_rules to false to get the generic rules.
With this set, you will get nine page rules total instead of nine per
page. This code is still rough, so you have to change
[http://trac.wordpress.org/browser/trunk/wp-
includes/rewrite.php?rev=6351#L188 line 188] by hand. After changing true
to false, visit your permalink options page and click the update button to
force a rule refresh.
--
Ticket URL: <http://trac.wordpress.org/ticket/3614#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list