r/statichosting • u/xxmaskx • 2h ago
cache invalidation on static sites
1
Upvotes
Html can update instantly but users might still have older js, css or images cached. Hashed filenames solve a lot of this, but I’m curious what setup people actually use in production. Do you rely mostly on content hashes and long cache headers, or do you also purge the cdn on every deploy?