Skip to content

Instantly share code, notes, and snippets.

Edge Caching for Pages with Dynamic Content

One of the basic requirements for a fast loading website is to have a web server that quickly responds to requests. While speeding up the origin response can directly increase business value, it can be quite challenging. In many cases it can be a lot easier to utilize caching in order to avoid the complexity of optimizing the server response time. However, caching a dynamic page is not a straightforward process.

How does a Browser Load a Page? Again!

No single blog post can really comprehensively cover what happens behind the scenes when loading a web page: it is a mind dazzling process. Instead we will focus on the part where the browser is requesting the HTML source content from a server in order to load the page. We will also assume a simple single web server with a database.

Edge Caching for Pages with Dynamic Content

One of the basic requirements for a fast loading website is to have a web server that quickly responds to requests. While speeding up the origin response has a great direct business value, it can be quite challenging. In many cases it can be a lot easier to utilize caching in order to avoid the complexity of optimizing the server response time. However, caching a dynamic page is not a straight forward process.

How does a Browser Load a Page? Again!

No single blog post can really cover all what happens behind the scenes to load a web page, it is a mind dazzling process. Instead we will focus on the part where the browser is requesting the HTML source content from a server in order to load the page. We will also assume a simple single web server with a database.

@ygaras
ygaras / SpeeingOrigin
Created January 30, 2014 16:53
Welcome document
# Edge Hosting for Pages with Dynamic Content
If you ever thought about speeding up a website, then most probably you have came across tools like [PageSpeed](https://developers.google.com/speed/pagespeed/) and [YSlow](http://developer.yahoo.com/yslow/) that lists the commandments for fast delivery of website pages. One the basic requirements for a fast loading website is to have a webserver that quickly responds to different requests. While speeding up the origin response has a great direct (business value)[ https://blogs.akamai.com/2014/01/the-business-value-of-a-fast-website.html], it can be quite challenging.
## How does a browser load a page? Again!
No single blog post can really cover all what happens behind the scenes to load a webpage, it is kind of a mind dazzling process. Instead we will focus on the part where the browser is requesting the HTML source content from a server in order to load the page. We will also assume a simple single webserver with a database.
![Network operations for loading