Hello!

I have a small issue and a small wishlist here

Issue:

>From src/proto_http.c and src/proto_htx.c:

                /* Here, we will tell an eventual cache on the client side
that
we don't
                 * want it to cache this reply because HTTP/1.0 caches also
cach
e cookies !
                 * Some caches understand the correct form:
'no-cache="set-cooki
e"', but
                 * others don't (eg: apache <= 1.3.26). So we use 'private'
inst
ead.
                 */

Is this still true, in general? RFC 7234 is almost 5 years old.

What about 'private="set-cookie"'? Would that be more accurate?

Wishlist:

While the header is case-insensitive, Cache-Control is more ubiquitous than
Cache-control.

Would make sense to add a nocache config option, like

nocache content

or

nocache hdr_name content

defaulting to Cache-control private, as the current behavior? If so, will
see to make a patch

Thanks,
      Gerardo

Reply via email to