A platform for community discussion. Free, open, simple.
DEV: Remove development cache-buster query parameter (#17444)
David Taylorf38114e16119
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rbindex 3a20ea4ba9a..487f59ca470 100644--- a/app/helpers/application_helper.rb+++ b/app/helpers/application_helper.rb@@ -125,13 +125,6 @@ module ApplicationHelperpath = path.gsub("#{GlobalSetting.cdn_url}/assets/", "#{GlobalSetting.cdn_url}/brotli_asset/")end- if Rails.env == "development"- if !path.include?("?")- # cache breaker for mobile iOS- path = path + "?#{Time.now.to_f}"- end- end-pathend