Speaker(s)
Session track
Code & Development
Experience level
Intermediate
Duration
50 min
Websites, web applications and APIs, they all speak HTTP. As a developer most of us are familiar with HTTP, but when it actually comes to creating cacheable web content, there is still a lot to be learned.
In this presentation I will show you how to leverage specific headers to achieve a maximum hit rate without losing touch with some of the challenges of real-life web projects.
The following topics will be covered:
- The syntax of cache-control headers
- How to use cache-control headers to control whether or not to cache
- How to use cache-control headers to control the time to live of our cached objects
- How to deal with cookies
- How to separate stateful from stateless content
- How to architect content blocks in your code using Edge Side Includes and AJAX
- How to boost your performance by adding a reverse cache proxy like Varnish
- How to invalidate your cache
- How to leverage Content Delivery Networks
- How to create cache variations
- How to reduce backend load and bandwidth by performing conditional HTTP requests
- How Page Cache, Dynamic Page Cache & BigPipe offer out-of-the-box solutions