incremental static site generation (ISR) remix
chandra penugonda
Posted on September 3, 2022
To achieve Incremental static site generation in remix
, add the header Cache-Control: s-maxage=60, stale-while-revalidate
to your responses.
This tells the CDN to cache for one minute, after that keep sending the stale response while while it revalidates with the origin server
💖 💪 🙅 🚩
chandra penugonda
Posted on September 3, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.