DEV Community

chandra penugonda
chandra penugonda

Posted on

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

Top comments (0)