Intelligent Caching: Leveraging Cache to Scale at the Frontend

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Tom Barker
Publisher: O'Reilly
Year: 2017

Language: English
Pages: 43

Cover
Web Ops
Copyright
Table of Contents
Preface
Chapter 1. Utilizing Cache to Offload Scale to the Frontend
What Is Cache?
Setting Cache
Cache-Control
Tiers of Cache
Summary
Chapter 2. Leveraging a CDN
Edge Caching
Quantifying the Theory
CDN Offload
Summary
Chapter 3. Intentional Cache Rules
Hot, Warm, and Cold Cache
Cache Freshness
Static Content
Personalized Content
Summary
Chapter 4. Common Problems
Problem: Bad Response Cached
Cause
How to Avoid This
Problem: Storing Private Content in Shared Cache
Cause
How to Avoid This
Problem: GTM Is Ping-Ponging Between Data Centers
Cause
How to Avoid This
Solution: Invalidating Your Cache
Fingerprint the URLs
Kill Switch
Summary
Chapter 5. Getting Started
Evaluate Your Architecture
Cache Your Static Content
Evaluate a CDN
Summary
About the Author