3 ms·
> My (naive?) view is that Nginx caches static files by default after the first hit That's likely the OS's filesystem cache, not anything in nginx. If you're o
by majewsky 7y ago
> My (naive?) view is that Nginx caches static files by default after the first hit
That's likely the OS's filesystem cache, not anything in nginx. If you're on Linux, you can confirm this by clearing the OS filesystem cache with
$ sudo -i
# echo 3 > /proc/sys/vm/drop_caches
and checking if the next hit on your URL looks like a cold load.