CacheIgnoreCacheControl based on user?

CacheIgnoreCacheControl based on user?

am 21.01.2008 16:02:26 von Jergen Dutch

Can CacheIgnoreCacheControl be set based on who is viewing the page?
i.e. allow "CacheIgnoreCacheControl on" for people from 10.x, but off
for everyone else?

Re: CacheIgnoreCacheControl based on user?

am 22.01.2008 11:29:07 von HansH

schreef in bericht
news:9f024c9f-84a7-4416-bec7-567bd9456cb1@p69g2000hsa.google groups.com...
> Can CacheIgnoreCacheControl be set based on who is viewing the page?
> i.e. allow "CacheIgnoreCacheControl on" for people from 10.x, but off
> for everyone else?
http://httpd.apache.org/docs/2.0/mod/mod_cache.html#cacheign orecachecontrol
Given the context 'server' and 'vhost': NO

Why on earth do you even consider !?

HansH

Re: CacheIgnoreCacheControl based on user?

am 22.01.2008 12:28:27 von Jergen Dutch

> http://httpd.apache.org/docs/2.0/mod/mod_cache.html#cacheign orecachec...
> Given the context 'server' and 'vhost': NO
>
> Why on earth do you even consider !?
>
> HansH

Well I need to let myself expire items from the cache, but not people
from outside.
I could do this with a separate nearly identical virtualhost entry,
but would this cause problems for mod_disk_cache?

Re: CacheIgnoreCacheControl based on user?

am 22.01.2008 15:34:25 von HansH

schreef in bericht
news:2f9e2cad-fb2f-44eb-be43-ded1f81a92bc@k2g2000hse.googleg roups.com...
>> http://httpd.apache.org/docs/2.0/mod/mod_cache.html#cacheign orecachec...
>> Given the context 'server' and 'vhost': NO
>>
>> Why on earth do you even consider !?
>
> Well I need to let myself expire items from the cache
> but not people from outside.
AFAIK this directive has opposite effect ...
.... instead of enforcing cache misses,
it makes cacheable what should not be cached.

Hans

Re: CacheIgnoreCacheControl based on user?

am 23.01.2008 09:04:43 von Jergen Dutch

On 22 Jan., 15:34, "HansH" wrote:
> schreef in berichtnews:2f9e2cad-fb2f-44eb-be43-ded1f81a92bc@k2g2000hse. googlegroups.com...>>http://httpd.apache.org/docs/2.0/mod/mo d_cache.html#cacheignorecachec...
> >> Given the context 'server' and 'vhost': NO
>
> >> Why on earth do you even consider !?
>
> > Well I need to let myself expire items from the cache
> > but not people from outside.
>
> AFAIK this directive has opposite effect ...
> ... instead of enforcing cache misses,
> it makes cacheable what should not be cached.
>
> Hans

Yes, that's what I want..