Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The usual solution is: have your frontend use different URLs for the assets (example: put a hash of the content in the asset's URL) or add a build number to the asset's URL in a query parameter (example: a hash of the built frontend file, e.g. /static/chunk.min.js?v=1235abcde)


Yes, I'd like to not have to modify the asset names. That requires a build step for assets.


Use the query parameter trick then.


You can't for image assets in CSS for example.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: