Rémy Sanchez

3 videos · 1 event · 2024 · 47 min of video

Talks

0:20:38

You've been caching your content website wrong

Wagtail Space NL 2024 · June 27, 2024

Rémy Sanchez argues that ETags are a useful alternative to time-based caching for content sites whose pages change infrequently but must become stale immediately when edited. Django can generate and validate a site-wide ETag, while deploys should rotate it as well so code and design…

0:07:19

How to abuse Wagtail's StreamFields as much as you want

Wagtail Space NL 2024 · June 27, 2024

Wagtail StreamFields can make migrations enormous because Django serializes the entire nested field definition when even a small block option changes. Rémy Sanchez showed a custom migration-packing script that extracts large literals into separate files and replaces them with lazy objects using `lazy-object-proxy`, reducing a…

Spoken at