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
https://forum.nginx.org/read.php?2,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
Regards,
Anish