Odd.. I tried installing this and it actually increased the page load time. I already have Xenon's hack and my Stats Cache installed, so I wouldn't really see the benefits for parts of this. It seems to be coming mostly from the PHP code that gets the private message info...
Before
Query: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=1 AND messageread=0 AND folderid=0
Time before: 0.19265496730804
Time after: 0.22409498691559
table type possible_keys key key_len ref rows Extra
privatemessage ref userid userid 4 const 1947 Using where
--------------------------------------------------------------------------------
Query: SELECT * FROM statscache
Time before: 0.2369509935379
Time after: 0.23781204223633
After
Query:
SELECT privatemessageid, messageread, dateline, folderid
FROM privatemessage
WHERE userid = 1
Time before: 0.28443694114685
Time after: 0.32564997673035
table type possible_keys key key_len ref rows Extra
privatemessage ref userid userid 4 const 1947 Using where
--------------------------------------------------------------------------------
Query: SELECT * FROM statscache
Time before: 0.50849199295044
Time after: 0.54340195655823
|