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

Store requested site id in the HttpContext #210

Closed
tidyui opened this issue Mar 5, 2018 · 0 comments
Closed

Store requested site id in the HttpContext #210

tidyui opened this issue Mar 5, 2018 · 0 comments
Assignees
Milestone

Comments

@tidyui
Copy link
Member

tidyui commented Mar 5, 2018

To optimize the middleware pipeline and minimize repository calls, add a new SiteMiddleware first in the pipeline that checks for the requested site & stores its id in HttpContext.Items. This way the other middleware don't have to try to resolve the hostname.

@tidyui tidyui added this to the Version 4.3 milestone Mar 5, 2018
@tidyui tidyui self-assigned this Mar 5, 2018
@tidyui tidyui closed this as completed in 03ff336 Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant