On Wednesday, 14 October 2015 at 18:55:28 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 14 October 2015 at 18:37:40 UTC, Mengu wrote:
websites? nope. like booking.com, airbnb.com, reddit.com are
popular websites that have many parts which have to be dynamic
and responsive as hell and they cannot use caching,
pre-generated content, etc.
They can if they know what they are doing. E.g. Reddit can push
indexes to their CDN (Cloudflare?) for commonly requested
topics.
And that is exactly what reddit does:
«
cache-control:max-age=0, must-revalidate
cf-cache-status:HIT
cf-ray:23558623ce9b231e-FRA
»
As you can see my request for /r/programming at reddit.com found
a hit in their CDN cache Cloudflare...
CDNs may allow explicit preloading and removal of outdated
resources from caches (contrary to HTTP).