~/talk

Reverse caching proxies: Varnish or Nginx?

Talkat PHP UK Conference 2015 · 2015-02-18..02-20· [php, web-performance]
slides:none on file

Compares Varnish v4 and Nginx by showing real configs and tools: apt installs, ports, vcl back-end response overrides, nginx proxy_cache and fastcgi_cache keys, varnishadm bans and varnishlog/varnishstat for monitoring. Notes Varnish lacks TLS so production stacks use nginx for SSL/SPDY in front, ESI vs SSI tradeoffs, and cache invalidation methods (ban vs file purge). Claims operational success: two varnish servers handled 19M uniques a day, and Varnish v4 adds much better varnishlog filtering.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Reverse proxy concepts
  3. 7:45Varnish and Nginx overviews
  4. 9:53Installation and configuration
  5. 11:56Advanced VCL and Nginx config
  6. 15:03PHP, HHVM, and Node.js proxying
  7. 21:26Default caching rules
  8. 23:55Monitoring and logging
  9. 31:01Cache flow states
  10. 33:22Custom cache keys
  11. 36:21Cache purging and banning
  12. 40:24Load balancing
  13. 48:44Edge Side Includes (ESI)
  14. 53:34SSL and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.