1
LazyBadger
XOOPS Cache

Some questions
1. What is really cached, when "module cache" is enabled? Module pages?
2. Are where any rules, which can allow rewrite real URL of cached page to URL of object in cache?
3. When cache object is outdated, when it will be refreshed - on first request or automatically after expiration time?
4. Can regeneration of cache produce additional queries for page with cached blocks? (I have 380 queries on uncached page, but sometimes, with block-cache enabled, I see 480 on pages)
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

2
Mithrandir
Re: XOOPS Cache

1. Module output
2. The cache md5's the requested URL and next time that template is used on that URL, the cache is checked and if it exists (and is within the cached time), the cached output will be served
3. See 2.
4. No, but it will not affect blocks. And vice versa - block caching will not affect module output (and queries used here)
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

3
LazyBadger
Re: XOOPS Cache

Quote:

2. The cache md5's the requested URL and next time that template is used on that URL, the cache is checked and if it exists (and is within the cached time), the cached output will be served


Hmmm... please, explain this picture for cached module xhld0 at URL http://modules.xoops2.ru/modules/xhld0/index.php

# ls -l | grep xhld
-rw-r--r--    1 apache   apache       9750 Jul 22 23:20 blk_45^%%A7^A77^A7770C0C%%db%3Axhld0_block_mixed.html
-rw-r--r--    1 apache   apache      17174 Jul 14 16:28 mod_xhld0^39586a3dc6f5a6f71ccb59d8e45c85fc^%%93^932^93231C1B%%db%3Axhld0_index.html
-rw-r--r--    1 apache   apache       7379 Jul 22 12:43 mod_xhld0^46877cdd9f24ad0f983cbddd13c3cc64^%%93^932^93231C1B%%db%3Axhld0_index.html
-rw-r--r--    1 apache   apache       9477 Jul 20 14:28 mod_xhld0^905ebee9ad7eaf405b39d1c442b5de0d^%%93^932^93231C1B%%db%3Axhld0_index.html
-rw-r--r--    1 apache   apache       7441 Jul 20 14:13 mod_xhld0^b2c69d565ef21e3d08cca71da80eb0d3^%%93^932^93231C1B%%db%3Axhld0_index.html
-rw-r--r--    1 apache   apache      15865 Jul 22 11:05 mod_xhld0^b50b4c66f9b0e8b91c59406a0cf0c2be^%%93^932^93231C1B%%db%3Axhld0_index.html
-rw-r--r--    1 apache   apache       7893 Jul 20 14:13 mod_xhld0^fa26abc8064d2ba21d675ae352f4f8de^%%93^932^93231C1B%%db%3Axhld0_index.html
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

Login

Who's Online

408 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 408


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits