Further reading
You can learn more about CDNs in the MDN Web Docs: https://developer.mozilla.org/en-US/docs/Glossary/CDN.
You can also find an overview of HTTP caching concepts in the MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching.
The MDN Web Docs also provide detailed information about each HTTP caching header:
ETag
: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETagCache-Control
: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
Refer to the Remix documentation for more information about Remix’s headers
route module API: https://remix.run/docs/en/2/route/headers.
Ryan Florence recorded two great videos about caching on the Remix YouTube channel. Fun fact – they were the very first videos that were uploaded on the Remix YouTube channel, and they are worth checking out:
- Remix Run – Introduction to HTTP Caching: https://www.youtube.com/watch?v=3XkU_DXcgl0
- CDN Caching...