diff options
author | Rémy Coutable <remy@rymai.me> | 2019-01-30 12:28:39 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-02-05 13:38:52 +0100 |
commit | 31fc5965baf9ca23a1da4a0ffc350102fe4c89c6 (patch) | |
tree | 92e8e5de086bb718f9c2fb7da9ac06384eaa549e /config | |
parent | 9734232530ceb2268d3e894b36ce7d5543c56e51 (diff) | |
download | gitlab-ce-31fc5965baf9ca23a1da4a0ffc350102fe4c89c6.tar.gz |
Monkey-patch Sprockets to prevent cache ballooning
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/sprockets_base_file_digest_key.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/sprockets_base_file_digest_key.rb b/config/initializers/sprockets_base_file_digest_key.rb new file mode 100644 index 00000000000..81ff3812091 --- /dev/null +++ b/config/initializers/sprockets_base_file_digest_key.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +Sprockets::Base.prepend(Gitlab::Patch::SprocketsBaseFileDigestKey) |