[wp-hackers] max performance tuning in wp
shikakaa at gmail.com
Wed Aug 4 14:26:41 UTC 2010
Indeed, that was the cause for some of them. The permalink structure is
/%category%/%postname%/ but that is not something we want to change. Now the
array is 600 long, so it's not a performance issue anymore. I just used
add_filter('post_rewrite_rules', 'filter_rewrite_crap'); where unneeded
array items are unset. parse_request's total cost went from 100ms to 2ms.
On Wed, Aug 4, 2010 at 16:20, Otto <otto at ottodestruct.com> wrote:
> On Wed, Aug 4, 2010 at 8:44 AM, Andras Stracz <shikakaa at gmail.com> wrote:
> > parse_request for instance runs a 10000+ foreach loop based on the
> > get_option('rewrite_rules') field, which was 1.5MB.
> You're probably using a bad permalink string.
> See this:
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers