4 ms·
you're definitely going to need tooling for hash blocks, but i don't think it needs to be particilarly sophisticated or amazing. I think you could provide prett
by jrochkind1 12y ago
you're definitely going to need tooling for hash blocks, but i don't think it needs to be particilarly sophisticated or amazing. I think you could provide pretty generic support in a couple dozen lines of php, or easily add it to any static site generation tool like jekyll. but, yeah, if you are purely manually writing static files in a yext editor, its going to be error prone.
Still trying to wrap my head around the nonce -- it seems like maybe it precludes just about any kind of caching, including CDNs? That seems like kind of a non starter.
and yeah, even though they start out talking about legacy site issues, both of these techniques seem to me more useful when you actually have some design reason to prefer or need inline scripts (there are a few), and less likely to be useful as a conveninet solution for a legacy site you don't want to change much.