commit | 6928a0f1c5d2151a348e42449780100a2134c010 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Dec 09 14:16:16 2014 -0800 |
committer | Dave Borowitz <dborowitz@google.com> | Tue Dec 09 14:16:16 2014 -0800 |
tree | 7c56693700bd3c2521760b9aea1a26d21addc574 | |
parent | 44cea2e2a54ff59fa941b23d95dad728b6aadd19 [diff] |
Move GetChange#cache to a better-named Response static factory The old method wasn't telling the client to not cache per se, but instead to use the cached version after revalidation. "Cache" was sufficiently generic to be confusing. Move this to a factory method in Response, and give it the slightly more descriptive name withMustRevalidate. Change-Id: Ic0bf486637f4542de3a2e6088eff1fee2d26c0d7