@ThreadRestricted(value="Call constructor") public interface ResponseConfiguration
Modifier and Type | Method and Description |
---|---|
void |
headMustRevalidate()
Instructs the client to validate the response for every request, such that it
never uses a stale response without first asking the user's permission.
|
void |
headNoCache()
Makes the response non-cacheable by the client.
|
void headMustRevalidate()
void headNoCache()
no-cache
.
These nevertheless fail with Chrome 18. Consider adding a nonce to the client request as a fallback.