knock-knock
knock-knock copied to clipboard
Compatibility with Blitz plugin using server rewrites
Question
I think this may be impossible but I'm wondering if there is a way to have knock-knock redirect working even when using Blitz plugin when cached is enabled and with server rewrites enabled?
Additional context
https://putyourlightson.com/plugins/blitz#server-rewrites
Yeah, with server rewrites, I don't see how this is possible, as the request never even hits Craft for Knock Knock to handle things. It's essentially serving up a literal HTML file, so nothing dynamic, or routing handled.
We'd have to introduce something at the web-server level, which is getting beyond the scope of a Craft plugin at that point.