Using cached headers in ACLs

2008-09-03 Thread Diego Woitasen
Hi,
As I've explained in my introduction, I'm working on changes
over cache statement and refresh_pattern to allow easy flash
video caching and may be other things. The first thing that I'm
trying to change is that ACLs used in cache would match
against cached headers. For example, if the cached headers for
some URL contains Content-Type: video/flv I serve that object
from cache.

Is there any contraindication if I use cached headers in that
way?

Regards,
Diego

-- 
---
Diego Woitasen - XTECH
www.xtech.com.ar


Re: Using cached headers in ACLs

2008-09-03 Thread Adrian Chadd
nope!



adrian

2008/9/4 Diego Woitasen [EMAIL PROTECTED]:
 Hi,
As I've explained in my introduction, I'm working on changes
over cache statement and refresh_pattern to allow easy flash
video caching and may be other things. The first thing that I'm
trying to change is that ACLs used in cache would match
against cached headers. For example, if the cached headers for
some URL contains Content-Type: video/flv I serve that object
from cache.

Is there any contraindication if I use cached headers in that
way?

Regards,
Diego

 --
 ---
 Diego Woitasen - XTECH
 www.xtech.com.ar




Re: Using cached headers in ACLs

2008-09-03 Thread Amos Jeffries
 nope!



Really?

I thought he whole concept of cache access was to determine whether a
brand new object fetched from the web was able to be stored in the cache?
not whether something was servable from cache. Cached things that are
fresh are always served yes?

Amos


 adrian

 2008/9/4 Diego Woitasen [EMAIL PROTECTED]:
 Hi,
As I've explained in my introduction, I'm working on changes
over cache statement and refresh_pattern to allow easy flash
video caching and may be other things. The first thing that I'm
trying to change is that ACLs used in cache would match
against cached headers. For example, if the cached headers for
some URL contains Content-Type: video/flv I serve that object
from cache.

Is there any contraindication if I use cached headers in that
way?

Regards,
Diego

 --
 ---
 Diego Woitasen - XTECH
 www.xtech.com.ar