Re: comments plugin...slow?
gabor <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <1084951487.13436.23.camel@dubb> |
On Wed, 2004-05-19 at 15:14 +0800, Wari Wahab wrote: > On 29 Rabi` al-Awal 1425 pm 15:07, gabor wrote: > > now it's much faster... > > > > -cache -textile -comments: around 0.3seconds > > -cache +textile -comments: 1.0seconds > > -cache +textile +comments: 2.0seconds > > +cache +textile +comments: 0.3seconds .... > > > > i don't really understand why it is sooo much faster (i thought that > > caching would not speed up the comments plugin (which has to count the > > num of comments at least)), but it somehow did :>> > > What's even wierder, I don't even believe that comments are cached even. But > adding cache is like having no textile, but with comments, as the textile > plugin is only in use when you have a new entry, or modified it. So by right, > you should get 1 sec, not .3 :) yes... btw. the page is http://z10n.net... under every entry i have a link called "permalink /comment (x)", where (x) is the $num_comments.... so i thought that maybe there's a bug in the caching system, and it does cache the whole entry .. but not, because i added a comment, and the $num_comments got correctly updated (and it was still fast). gabor ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click