-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-origin information is cached #33
Comments
@nijinekoyo Sorry for the delayed response. I have added a new option called "DiscardHeaders" and included "CorsHeaders" in the library. You can take a look at the commit to see if it meets your requirements. |
Wow, thank you so much for solving this problem This way I can remove the |
I released v1.9.0 for this feature. Just a reminder, please make sure to confirm if everything meets your expectations and conduct thorough testing before using it in a production environment. https://github.com/chenyahui/gin-cache/blob/main/cache_test.go#L246 |
I successfully fixed the problem, thank you very much |
When there are multiple cross-domain domain names that allow cross-domain information, it will cause confusion when the cross-domain information is cached. It is hoped that the cross-domain return header can be ignored during caching
The text was updated successfully, but these errors were encountered: