Nov 2, 2020

http cache header

to understand cache we need to understand three components

  1. Client(browser,app etc)
  2. Reverse proxy / Intermediate proxy server ( like nginx ,cloudfare etc)
  3. origin server ( actual backend server like nodejs etc)

cache-control : no-store

Dont store cached files in any where ( Cient as well as Reverse proxy)

cache-control …



Oct 30, 2020

Nginx basics

nginx got master and workerprocess

master will be who starting the process

worker user will be in user directive

To see master and worker use ps -ef — forest

to validate conf use nginx -t

Reverse proxy (proxy_bypass) to pass IP of client to backend conf below

server {