incremental static site generation (ISR) remix

chandrapenugonda

chandra penugonda

Posted on September 3, 2022

incremental static site generation (ISR) remix

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

💖 💪 🙅 🚩
chandrapenugonda
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.

Related