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
As I found out today, the caching does not work on non-https pages because crypto.subtle is only available in secure contexts, and I use it for sha256 hash of compiled code to detect changes.
Some collision-resistant version of inlined crc function would do, though need some googling. In the worst case I don't find any simple solutions, I have a very stupid idea - to split hashed text into 8 chunks and use crc32 on each of them, then concat digests.
The text was updated successfully, but these errors were encountered:
As I found out today, the caching does not work on non-https pages because
crypto.subtle
is only available in secure contexts, and I use it for sha256 hash of compiled code to detect changes.Some collision-resistant version of inlined crc function would do, though need some googling. In the worst case I don't find any simple solutions, I have a very stupid idea - to split hashed text into 8 chunks and use crc32 on each of them, then concat digests.
The text was updated successfully, but these errors were encountered: