Re: caching "dynamic" content

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 16 Nov 2007 09:24:51 +0900

On Thu, Nov 15, 2007, Adrian Chadd wrote:
> G'day,
>
> I'd like to propose a Squid modification - to cache "dynamic" content
> thats playing "good".

I've written up the first part of the intrusive changes:

http://www.creative.net.au/diffs/20071116-squid-2-HEAD-storeurl_rewrite.diff

This:

* splits out "url" and "store lookup url" in the MemObject
* uses store lookup url if possible in store.c and store_key_md5.c routines
  to handle key set and get
* (and I'm not sure I'm handling vary at all!)
* comment out the "stored object URL == requested URL" check for now

This caches google maps/earth right now.

The todo list:

* make sure I've gone and handled the store key set/get stuff correctly;
* have i handled vary correctly?
* figure out how to store the storeurl in the object so I check that the
  lookup store url matches the stored object store url and not just the
  requested URL (which won't match!)

Comments and feedback please. I'd like to commit this tomorrow so I can start
asking squid-users for some testing.

Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
Received on Thu Nov 15 2007 - 17:21:12 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST