codex.docs
codex.docs copied to clipboard
No hash identifier for scripts and styles
Browser cached these files and requires to empty cache

Same problem fixed in Hawk 1.0 the following way for Webpack builder and Twig engine.
-
Save webpack build hash to the separate config file https://github.com/codex-team/hawk/blob/master/hawk/webpack.config.js#L75-L87
-
Read this file while app is loading and set the template variable https://github.com/codex-team/hawk/blob/master/hawk/app.js#L156-L167
-
Add the hash identifier to layout template https://github.com/codex-team/hawk/blob/master/hawk/views/layout.twig#L11