[typo] Abstemious Cache Sweeping

William A. Carrel william.a at carrel.org
Mon Dec 5 12:41:04 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Dec 5, 2005, at 8:03 AM, Mike Purvis wrote:

> William A. Carrel wrote:
>
>> Last time Scott talked about fragment cache it sounded like it cost
>> about an order of magnitude in performance versus the page cache.
>>
> Rather than a full fragment cache, couldn't it just be a singular  
> cache
> of the sidebar? Like, generate once, and then each individual page
> inserts it on view? (I'm not familiar with how Typo serves up its  
> cache,
> but every page could just store a byte marker with it for "inject the
> sidebar at position X")

There are ways to do this with Apache httpd and server-side includes  
in the cached page data.  Generally page cache requests never even  
get to rails.  The HTTP server serves them up as flat files (which is  
why the performance is so high on apache mpm worker and lighttpd).

This feels a bit messy when compared with just using AJAX to load the  
sidebar content.
>
> After all, the sidebar and the content are fundamentally different
> entities; seems silly to lose the cache of one when only the other has
> changed.

Certainly.

__
wac

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iQIVAwUBQ5R7s8oU8+xqMUDPAQoEMg/9Hz2oFhymMtW8xJncFS9LfvmHXzJiCdCA
oY5s/MZgCSvf3KV+dX4eI0t77KhOgzfew1EOr0a4dx5rX6yiAkBVEjOSbunu+ZJU
a5HqMJuYi2CfrzYgjB+Nz3J5J7Nk3D6roH/hJBAzuOe7uuWee41jhJFoxcXpRzC3
LHM0A5tn2b6EamJa2ECEVWlD4ampQAwTXrsVDZoW+wi160MVaS3dPV2npfQ5e0Sm
nsShS7UI5ZwlcW//OEvh3PyihFsP0kWVhqPqgyfqv6k2ZGY/RvUc1WFKS2ZMYZxx
cIyqzFa8SGGn9w6pGwF+ObMi44BNyyjZckAbdFPQRAYVww15Kl/XHPITplPY68Qw
QA5e44yQIov+FC/sqX9qz490wPDaANgbqpbwIe3ACeIMQRQlJD8EzCw41CNV2Z6z
jg15l1Fpkjokw6Z73clI+MCV4CQvTUVynUFOEEkKV1ss+zoS8pdjhJv4j28k0MQ6
cyhOGn9t9VabREYIGKkelob4IUAwmLtvADRdc3bdzdCTJwveddJ33IuoihljWia3
viWS6dNAxtecem9Hh913OMLh2DYNaT10h/2ACNwSJKXZiCMWujYl+UvROHG6yphB
PjYUzp/VhXt7vUd5cDyk6qs/uzPP1q2VFORbeIop7eOqW14fH5x43uukZcwQVwEX
pyGug75rujA=
=aChC
-----END PGP SIGNATURE-----


More information about the Typo-list mailing list