Saltar al contenido
← volver

Our pages have been in the edge cache for twelve days, and the browser is told to cache them for zero seconds

DEV · dev.to Publicado:

Seventy of PubTrivia's 72 public pages are prerendered at build time. The pricing page and the homepage are the two exceptions, because both read the visitor's country to choose a display currency. I went through every response header the site actually sends to find out what a second visit costs, and the answer involves three caches that do not agree with each other about anything. Start with one page, the features index: $ curl -sI https://pub-trivia.app/features | grep -iE 'age|cache|etag|var…

Leer original →

Más de DEV