Caching OPTIONS Response
anish10dec
nginx-forum at forum.nginx.org
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
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
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283592,283592#msg-283592
More information about the nginx
mailing list