Caching OPTIONS Response

anish10dec nginx-forum at
Wed Apr 3 08:17:49 UTC 2019

We are using Nginx to deliver Widevine Streaming over Web.

Website sends OPTIONS request as a preflight check with every fragment
request for streaming.

Since Nginx by default caches GET, HEAD, we tried including OPTIONS method
to cache on Nginx.

proxy_cache_methods GET HEAD OPTIONS;

Gives error messsage as Invalid value.

Below links says OPTIONS cannot be cached,253403,253408

This is causing all the request of preflight check from Browser to load
Origin Server having Nginx.
Please suggest a way to handle OPTIONS request 


Posted at Nginx Forum:,283592,283592#msg-283592

More information about the nginx mailing list