16 reputation
2
bio website
location
age
visits member for 2 years, 3 months
seen Jun 26 '12 at 13:25

Jun
12
comment how should cache control be set in the requests
my intention is to instruct the browser to not cache confidential data being filled out in forms. HTTP 1.1 protocol states that cache control directives can be request or response specific. I was looking for a way to do it for requests. I found some way of doing it for HTTP 1.1 - please see my comment to DisgruntledGoat.
Jun
12
comment how should cache control be set in the requests
my intention is to not cache confidential data being filled out in forms on the client side. I am looking for a solution for both HTTP 1.1 and 1.0 protocol (if possible). Yesterday, when i re-read the HTTP 1.1 RFC, it said that by specifying the 'no-store' option, we can attain request cache control via responses: "If sent in a response, a cache MUST NOT store any part of either this response or the request that elicited it". So, that solved my problem for HTTP 1.1 protocol, but for HTTP 1.0 there doesn't seem to be any solution because the Pragma no-cache option is only for requests.
Jun
11
comment how should cache control be set in the requests
I guess that sets the cache-control on the responses. Not sure how to do that for requests.