Skip to content
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

Address browser caching issues with auth routes #20197

Open
1 task
edmund-dunn opened this issue Jan 2, 2025 · 1 comment
Open
1 task

Address browser caching issues with auth routes #20197

edmund-dunn opened this issue Jan 2, 2025 · 1 comment
Labels
CMS Team CMS Product team that manages both editor exp and devops Next Sprint

Comments

@edmund-dunn
Copy link
Contributor

edmund-dunn commented Jan 2, 2025

User Story or Problem Statement

Right now, browser caching is turned on and set to 1 day. This is a blanket policy for all Drupal routes. There is an issue in the queue for Drupal Core: https://www.drupal.org/node/2352009. This is causing an issue with some of the authentication routes being cached, and authentication checks are receiving 403 errors because they are cached. The browser caching policy does not allow individual settings to bubble up and so eve if these routes are set to not be cached in the browser they are still cached.

Relevant Links for Context

Steps for Implementation

We will need to test this over time, starting at 3 hours, and reduce the time that pages are cached in the browser one step at a time. While this is happening, we also need to watch the performance dashboard for potential impact on performance.

Since this only affects the browser cache, it will not affect JSON:API, GraphQL, or other APIs.

Acceptance Criteria

  • CMS users are no longer getting the error message about the cookies in their browser.
@edmund-dunn edmund-dunn added Needs refining Issue status UX writing CMS team practice area labels Jan 2, 2025
@edmund-dunn edmund-dunn self-assigned this Jan 2, 2025
@gracekretschmer-metrostar gracekretschmer-metrostar added CMS Team CMS Product team that manages both editor exp and devops Next Sprint and removed Needs refining Issue status UX writing CMS team practice area labels Jan 2, 2025
@gracekretschmer-metrostar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMS Team CMS Product team that manages both editor exp and devops Next Sprint
Projects
None yet
Development

No branches or pull requests

2 participants