perf: cache CORS preflight OPTIONS requests with maxAge#104
perf: cache CORS preflight OPTIONS requests with maxAge#104shenald-dev wants to merge 5 commits intomasterfrom
Conversation
Co-authored-by: shenald-dev <245350826+shenald-dev@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Looks good, merging this in. CI is green and everything checks out 👍 Add CORS maxAge header to cache preflight OPTIONS requests for 24 hours. |
Acknowledged. |
Co-authored-by: shenald-dev <245350826+shenald-dev@users.noreply.github.com>
|
@shenald-dev this PR has merge conflicts with To resolve manually: Alternatively, you can try updating your branch with the latest from |
|
Please resolve the merge conflicts with master before merging. Consider rebasing onto latest master and ensure the version bump follows semantic versioning. After conflicts are resolved, this PR looks good to merge. Reviewed — quality: high |
I have successfully merged |
Co-authored-by: shenald-dev <245350826+shenald-dev@users.noreply.github.com>
|
🔄 Re-evaluating based on recent changes: Please resolve the merge conflicts with master (as described in the comments) and ensure the version bump in package.json follows semantic versioning. After conflicts are resolved, the PR is ready to merge. Reviewed — quality: high |
I have successfully merged |
Co-authored-by: shenald-dev <245350826+shenald-dev@users.noreply.github.com>
|
🔄 Re-evaluating based on recent changes: Please resolve the merge conflicts with master (e.g., rebase onto latest master) and ensure the version bump follows semantic versioning. After conflicts are resolved, the PR is ready to merge. Reviewed — quality: high |
I have previously successfully merged |
Co-authored-by: shenald-dev <245350826+shenald-dev@users.noreply.github.com>
Configured the CORS middleware to include a
maxAgeof 86400 seconds (24 hours). This instructs browsers to cache preflight OPTIONS requests, preventing redundant requests and reducing backend processing and latency.Access-Control-Max-Ageheader.PR created automatically by Jules for task 7521502973374488087 started by @shenald-dev