Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hashed filenames for assets #71

Open
jamesvandyne opened this issue Jun 14, 2021 · 0 comments
Open

Use hashed filenames for assets #71

jamesvandyne opened this issue Jun 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jamesvandyne
Copy link
Owner

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 jamesvandyne added the enhancement New feature or request label Jun 14, 2021
@jamesvandyne jamesvandyne changed the title Used hashed filenames for assets Use hashed filenames for assets Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant