DEV Community

TK
TK

Posted on • Updated on

Everything you need to know about HTTP Caching - YouTube

Everything you need to know about HTTP Caching - YouTube:

Benefits for cache

  • Reduced latency
  • Cut down the bandwidth
  • Reduced load on the server

Cache location

  • Browser cache
  • Proxy cache
  • Revered Proxy cache (Server side)

Cache types

  • Stale Content
  • Fresh Content

Cache actions

  • Cache validation
  • Cache invalidation

How does the content get cached?

  • HTTP Headers
    • cache headers: cache-control (expires, pragma)
    • Validators: etag, if-none-match, last-modified, if-modified-since

Top comments (0)