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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fixed redundant member data loading for static assets #20031

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

ronaldlangeveld
Copy link
Member

@ronaldlangeveld ronaldlangeveld commented Apr 17, 2024

refs CFR-21

Reorganised middleware execution so that member data is not redundantly loaded for static assets or the sitemap

@ronaldlangeveld ronaldlangeveld marked this pull request as ready for review April 17, 2024 12:53
@ronaldlangeveld ronaldlangeveld changed the title 馃尩 Fixed redundant member data loading for static assets Fixed redundant member data loading for static assets Apr 17, 2024
@ronaldlangeveld ronaldlangeveld changed the title Fixed redundant member data loading for static assets 馃尩[spike] Fixed redundant member data loading for static assets May 9, 2024
@ronaldlangeveld ronaldlangeveld changed the title 馃尩[spike] Fixed redundant member data loading for static assets 馃悰 Fixed redundant member data loading for static assets May 16, 2024
ronaldlangeveld and others added 12 commits May 16, 2024 17:18
ref CFR-21

- Spike WIP
- Added testing to spy that will determine when the loadMemberSession
  is executed on a request.
- Added known routes where we don't need this middleware from executing.
- The method currently used is to reorganise the pattern in which the middleware loads, ensuring we only execute `loadMemberSession` where needed, after the the paths that don't require it.
@mike182uk mike182uk force-pushed the spike-remove-members-middleware branch from c896e68 to 9a8d604 Compare May 16, 2024 16:18
@mike182uk mike182uk force-pushed the spike-remove-members-middleware branch from 9a8d604 to 8bc012b Compare May 16, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants