Remove view folders from assets caching key
Currently, the compiled assets caching strategy uses the following dirs, files and patterns to compute the cache key:
FOSS_ASSET_FOLDERS = %w[app/assets app/views fixtures/emojis vendor/assets/javascripts].freeze
EE_ASSET_FOLDERS = %w[ee/app/assets ee/app/views].freeze
JS_ASSET_PATTERNS = %w[*.js config/**/*.js].freeze
JS_ASSET_FILES = %w[package.json yarn.lock].freeze
I think app/views
and ee/app/views
could be removed from the key as they have no impact on the assets compilation?
Edited by Rémy Coutable