![]() For Chrome, the maximum seconds for Access-Control-Max-Age is 600 which is 10 minutes, according to chrome source code.You can set a Access-Control-Max-Age for the OPTIONS request, so that it will not check the permission again until it is expired.Īccess-Control-Max-Age gives the value in seconds for how long the response to the preflight request can be cached for without sending another preflight request. Connection, User-Agent, etc.), the only headers which are allowed to be manually set are:Ī simple request will not cause a pre-flight OPTIONS request. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |