Allow external <script type=speculationrules> #348
Labels
enhancement
New feature or request
speculation rules
Related to speculation rules (syntax, semantics) other than the requested action
I’m building a project that is a bunch of plain HTML files with plain CSS and JS – there is no build step. I’m deploying this project to a server where I cannot control the headers being sent.
Because I can’t control the headers, I needed to add Speculation Rules by adding the following snippet to each and every HTML file:
This is very repetitive. I kinda assumed I would be able to do the following to keep things DRY, but turns out this is not possible:
Hereby requesting to consider this feature request.
The text was updated successfully, but these errors were encountered: