tanzawa icon indicating copy to clipboard operation
tanzawa copied to clipboard

Use hashed filenames for assets

Open jamesvandyne opened this issue 3 years ago • 0 comments

Carryover from #66 . We've now got webpack building 3 different files: app.js (JS for the admin), public.js ( JS for the public site), and style.css (overall styles). These assets sometimes get cached by browsers, which can cause new functionality to not work until there's a hard reload.

Output files should include their hash so we can avoid caching issues. Once using hashes, integrate django-webpack-loader so django knows where to find the built files when running collectstatic.

jamesvandyne avatar Jun 14 '21 20:06 jamesvandyne