mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Configured all Admin assets to contain fingerprint hash
refs https://github.com/TryGhost/Toolbox/issues/403 - as we're moving towards independent Admin releases, we want to make sure that we can bust cache when an asset is updated - right now, svg, ttf and ico images aren't fingerprinted, so if they change, it'll require a browser cache clear to update them - instead, we should add them to the list of fingerprinted file extensions to fix this issue
This commit is contained in:
parent
f53eac3043
commit
083391c995
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ module.exports = function (defaults) {
|
|||
},
|
||||
fingerprint: {
|
||||
enabled: isProduction,
|
||||
extensions: ['js', 'css', 'png', 'jpg', 'jpeg', 'gif', 'map']
|
||||
extensions: ['js', 'css', 'png', 'jpg', 'jpeg', 'gif', 'map', 'svg', 'ttf', 'ico']
|
||||
},
|
||||
minifyJS: {
|
||||
options: {
|
||||
|
|
Loading…
Add table
Reference in a new issue