RE: Check if a resource is in the cache

2019-10-29 Thread Reinis Rozitis
> Hello, > > is there a way to check if a requested resource is in the cache? > > For example, “if” has the option “-f”, which could be used to check if a > static > file is present. > > Is there something similar for a cached resource? Depending on what you want to achieve you could check $up

Check if a resource is in the cache

2019-10-29 Thread Roger Fischer
Hello, is there a way to check if a requested resource is in the cache? For example, “if” has the option “-f”, which could be used to check if a static file is present. Is there something similar for a cached resource? Thanks… Roger ___ nginx maili