Sergiu Cazac
Sergiu Cazac
Hey @danielroe, is this planned?
I think it would be best if the payload was hashed out of the box (when generate mode is used) as it's probably going to become a pretty common issue,...
For anyone looking for a workaround for Cloudflare, I wrote a small module for this until the hashes issue is resolved. It's not perfect as we still have the browser...
That sounds sensible, but it would be great to keep the _payload.js files on the edge when having a generated site (Cloudflare) so they don't have to be pulled from...
@danielroe thanks! There is one more issue that I noticed, but it might be an intended behavior. When rendering an error page in a generated site with `createError` - the...
Same question as @dimasxp, any way to add unique hashes to the payloads or at least inline the payload so it's not cached?
I've actually played with it and made it work locally, so can make a PR. @danielroe what do you think about this?
@sermagnus there is an open PR #264 and it works but it seems like it won't work like we expected it to work because capsize doesn't provide the metrics needed...
I see there's no enough test coverage for the new code I suppose but I am not entirely sure what tests should I implement. Can you point me, please?
@danielroe looking into this now, thanks for the tweaks!