about summary refs log tree commit diff stats
path: root/src/layout/engine.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-29 12:32:17 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-29 12:50:16 +0200
commit2e50aa23237da76802d2a61cb7426bf51c122d14 (patch)
tree9ed3f42f9ef3f6a6f97c4118bc5fbc90248f00ce /src/layout/engine.nim
parente7786e39e38ddf5ec75b95cc19e1bee108cd37d2 (diff)
downloadchawan-2e50aa23237da76802d2a61cb7426bf51c122d14.tar.gz
dom, pager: cache images from network
With many limitations:

* slightly randomized expiry, so it's harder to fingerprint
* only images. so e.g. CSS is still left uncached
* it's per-buffer and non-persistent, so images are still redownloaded
  for every new page load

so it's more of an image sharing between placements than true caching.
Diffstat (limited to 'src/layout/engine.nim')
0 files changed, 0 insertions, 0 deletions