You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to filter eligible pages for caching on host or domain ? Except misunderstanding, today, we can only white list or black list on path …
I can see something like this on the Node middleware with host option.
The text was updated successfully, but these errors were encountered:
Not currently, but we should probably add the host parameter here too. In the prerender-node middleware, the host parameter doesn't do any filtering but sets the host to a hard coded value. If you want to actually do any filtering, you could set that up before the prerender.io middleware runs. For example, you might just have some code that checks the incoming Host header and returns a 404 for Host values that don't match the list of your own hosts.
@thoop FYI, I'm using the rails middleware and I would prefer to specify host or domain restriction directly in the middleware configuration (relatively to my env). Anything new from your side?
Is there any way to filter eligible pages for caching on host or domain ? Except misunderstanding, today, we can only white list or black list on path …
I can see something like this on the Node middleware with
host
option.The text was updated successfully, but these errors were encountered: