2 ms·
Shouldn't storing and checking a hash solve most of the security problems? That way, you know the asset hasn't changed at all. It doesn't matter if there's mult
by Wowfunhappy 8y ago
Shouldn't storing and checking a hash solve most of the security problems? That way, you know the asset hasn't changed at all. It doesn't matter if there's multiple caches because unless you've managed to break sha256, they should all be the same file.
The actual html can also be cached, which should make it zero latency. However, I am realizing now that I'm not sure where the checksum gets stored...
(I'll readily admit this was a spur-of-the-moment idea that I haven't actually thought through intensively.)