Welcome! Log In Create A New Profile

Advanced

Caching OPTIONS Response

April 03, 2019 04:17AM
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
Subject Author Posted

Caching OPTIONS Response

anish10dec April 03, 2019 04:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready