PEAK XOOPS - Re: Fastest Cache Hack (Experimental version) in englishin japanese

Re: Fastest Cache Hack (Experimental version)

  • As this forum is only for commentation, you cannot open a new topic
  • Guests cannot post into this forum
Target Downloads
Subject Fastest Cache Hack (Experimental version)
Summary == 最速キャッシュハック (FCH) ==●特長ページまるごと単位でキャッシュする高速化ハックです。ただし、使い方はそれなりに難しい上に、セッションについての危険性を理解していないと思わぬセキュリティホールの原因になりますので、決して初心者向きではありません...
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/5 2:18 | Last modified
mendow  一等兵 From: Russian Moscow  Posts: 12
Thank's for this hack.
But one question.
how much save resources, relative standard XOOPS?
Votes:5 Average:10.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/3/5 4:22
GIJOE  先任軍曹   Posts: 4110
Just a case in this site:

Save 30% of CPU
Use another 30~50Mbyte HDD
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/6 6:23 | Last modified
mendow  一等兵 From: Russian Moscow  Posts: 12
Thank's!
next question

// debug mode (you can see the hit ratio by counting fullcache/result)
define( 'FASTESTCACHE_DEBUG' , false ) ;


Where can see this?
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/6 6:34 | Last modified
GIJOE  先任軍曹   Posts: 4110
you can see it in
XOOPS_TRUST_PATH.'/fullcache/result'

count each lines
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/3/22 20:16 | Last modified
mendow  一等兵 From: Russian Moscow  Posts: 12
Hi !
how can one cut off any script or modules for hack fullcache?
thanks !
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2006/3/24 5:49
GIJOE  先任軍曹   Posts: 4110
I can't understand what you mean.
explain with detail.
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/23 22:59 | Last modified
tl  三等軍曹   Posts: 84
Quote:
Just a case in this site:

Save 30% of CPU
Use another 30~50Mbyte HDD

GIJOE: will the hack reduce the number of database queries? tl
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/4/24 3:05
GIJOE  先任軍曹   Posts: 4110
hi tl.
Quote:
will the hack reduce the number of database queries?

Perhaps, 30% of queries are reduced.
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/24 10:37 | Last modified
tl  三等軍曹   Posts: 84
Thanks GIJOE.

The reason for asking that was that when I enabled the hack, the number of queries was not reduced (according to a xoops logger I used). Although I did not test it for long.

My host limits the number of queries per hour. It would be of great help in reducing the number of queries. Xoops caching does not cache pagetitles so it is almost of no help.

I have some blocks cached, should I keep the block cache on while using the hack?

Thanks again,
tl
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/27 6:47
GIJOE  先任軍曹   Posts: 4110
Quote:
The reason for asking that was that when I enabled the hack, the number of queries was not reduced (according to a xoops logger I used). Although I did not test it for long.
If you runs XOOPS with appropriate block caches, FCH cannot reduce queries effectively.

Quote:
My host limits the number of queries per hour. It would be of great help in reducing the number of queries. Xoops caching does not cache pagetitles so it is almost of no help.
Number of queries?
It's non-sense.

MySQL works quite fast with little and many queries.
Despite MySQL works slowly with big and few queries.

Quote:
I have some blocks cached, should I keep the block cache on while using the hack?
I think so.
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2006/4/27 7:58 | Last modified
tl  三等軍曹   Posts: 84
Quote:
Number of queries?
It's non-sense.

Don't laugh, yep, it is true. My host has a dedicated pool of MySQL servers but limits the number of queries per hour to prevent abuse, I guess. Other than the queries limit, I am very happy with the host. Well, if time comes, then I will have to move to a dedicated server.

Thanks for the quick answers. I think the block cache should be removed. First of all, the pages would be double-cached. There is no need for that as FCH is sufficient enough. Secondly, block cache might cause logging-in delays.

I had one block cache enabled and user login page " Thank for ... if ..., blah.. " was stuck for a quite long period of time before finally logging users in. The problem disappeared after the block cache was removed.

So far, FCH has been working great. Thank you for a great hack!

tl
Votes:3 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2006/4/26 22:35
tl  三等軍曹   Posts: 84
GIJOE:

I assume the javascript is not affected by the cache. I have a page counter in javascript and it seems to be working fine under the cache.

Could you please confirm it? thanks.

tl
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2006/4/27 6:42 | Last modified
GIJOE  先任軍曹   Posts: 4110
hi tl.

Quote:
I assume the javascript is not affected by the cache. I have a page counter in javascript and it seems to be working fine under the cache.
It sounds naturally from the point of view of the FCH's mechanism.
Counters using JavaScript will work fine FCH.
Votes:7 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!