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

Possible to only use FastBoot for specific routes? #828

Open
adambedford opened this issue May 5, 2021 · 2 comments
Open

Possible to only use FastBoot for specific routes? #828

adambedford opened this issue May 5, 2021 · 2 comments

Comments

@adambedford
Copy link

Is it possible to create an allow/block list of routes for FastBoot? I'd like to serve (and cache) a few public routes with FastBoot and serve the regular index.html for other, app-like routes.

Thanks in advance.

@snewcomer
Copy link
Contributor

@adambedford This seems like a good candidate for some middleware. What would you intend to serve with the public routes? Not an index.html?

@adambedford
Copy link
Author

@snewcomer we have some CMS-like pages that I'm hoping to cache, along with our homepage (Tutorspot.co.uk) but I don't think we can cache other pages that require authentication. Unless of course the the existing cache can be auth aware?

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

No branches or pull requests

2 participants