aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-28 03:50:53 -0400
committerCraig Jennings <c@cjennings.net>2026-06-28 03:50:53 -0400
commit944a52f0e33087dafba383edb3d97ec19a06d361 (patch)
tree53528fb582b2b3fa044d02cb46c57390f50924b4 /scripts
parent38b7812b3bce45372fd2f11a8da710cb73717092 (diff)
downloademacs-wttrin-944a52f0e33087dafba383edb3d97ec19a06d361.tar.gz
emacs-wttrin-944a52f0e33087dafba383edb3d97ec19a06d361.zip
fix: key the cache on all response-shaping settings
wttrin--make-cache-key keyed only on location and unit system, but the request body also depends on wttrin-display-options and wttrin-default-languages. Changing display options or language mid-session served the old cached response, and the staleness header then claimed it was current for the new settings. The key now includes every setting that shapes the response. Cache-key tests rewritten to assert behavior (distinct key per varying setting, stable key for identical settings) instead of an exact key string.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions