[redland-dev] [Patch] Disable libcurl Pragma: no-cache
Dave Beckett
dave at dajobe.org
Tue Dec 4 04:38:05 GMT 2007
Lauri Aalto wrote:
> On Dec 1, 2007 7:45 PM, chrysn <chrysn at fsfe.org> wrote:
>> anyhow, i think it should be up to the server to decide what to cache,
>> so the server should tell what must not be cached by issuing a
>> must-revalidate. always overriding cache seems to be bad practice; if
>> this is necessary in some cases (which often result from badly
>> configured servers), there should be an option to override cache
>> (disabled by default).
>
> I agree. By default the software should not try to outsmart caches.
>
> To help Ben (or anyone else) to develop the patch further, a good way
> to make Cache-Control runtime configurable is to wrap it as a
> raptor_feature.
That's correct - I'd accept a patch like that. But I think the
default should be to say nothing (no cache control header), so
in this case for curl, it should be removed. Caching in a
resource (_R_EST and _R_DF) world, is a *good* thing.
Dave
More information about the redland-dev
mailing list