Open adambedford opened 3 years ago
@adambedford This seems like a good candidate for some middleware. What would you intend to serve with the public routes? Not an index.html?
@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?
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.