Menu
Sign inAccount

Without signing in, feed filters and “Main news today” still work in this browser.

All news
Techdev.to0 views

Prerendering a page per device, and the cache key that has to agree

A marketing page with no per visitor content should be built once and handed out as a file, which is what prerendering means here: the build writes the HTML, and the server answers with it instead of rendering again. The page I had to do this to was not quite static. Its footer is an accordion on a phone and a grid on a laptop, and a few sections below it differ the same way. Two rendered…

Read at the source0 views

The story in one text

Summaries are not being written right now

1 / 100
2
3
3 d
0.01
×1.16
2 h
Prerendering a page per device, and the cache key that has to agree — Arevian Pulse