discourse/config/initializers
David Taylor 9c926ce645
PERF: Improve workbox loading strategy (#22019)
Previously workbox JS was vendored into our git repository, and would be loaded from the `public/javascripts` directory with a 1 day cache lifetime. The main aim of this commit is to add 'cachebuster' to the workbox URL so that the cache lifetime can be increased.

- Remove vendored copies of workbox.
- Use ember-cli/broccoli to collect workbox files from node_modules into assets/workbox-{digest}
- Add assets to sprockets manifest so that they're collected from the ember-cli output directory (and uploaded to s3 when configured)

Some of the sprockets-related changes in this commit are not ideal, but we hope to remove sprockets in the not-too-distant future.
2023-06-09 11:14:11 +01:00
..
000-development_reload_warnings.rb DEV: Use internal __autoloads for zeitwork reload check (#20260) 2023-02-13 16:26:40 +10:00
000-mini_sql.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
000-post_migration.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
000-trace_pg_connections.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
000-zeitwerk.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
001-redis.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
002-freedom_patches.rb
002-rails_failover.rb FEATURE: Introduce pg_force_readonly_mode GlobalSetting (#19612) 2023-01-19 13:59:11 +00:00
004-message_bus.rb DEV: Patch capybara to ignore client-triggered errors (#19972) 2023-01-24 11:07:29 +00:00
005-site_settings.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
006-ensure_login_hint.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
006-mini_profiler.rb DEV: Add `/theme-qunit` to skipped mini profiler paths (#20551) 2023-03-06 14:56:27 -08:00
008-rack-cors.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
009-omniauth.rb
012-web_hook_events.rb FIX: Ensure group-filtered group user event webhooks fire (#21254) 2023-04-26 22:38:28 +00:00
013-excon_defaults.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
014-track-setting-changes.rb PERF: Cache ToS and Privacy Policy paths (#21860) 2023-06-07 21:31:20 +03:00
099-anon-cache.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
099-drain_pool.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-i18n.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-logster.rb DEV: Remove older ruby version logic (#19971) 2023-01-24 10:42:56 +00:00
100-oj.rb
100-onebox_options.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-push-notifications.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-quiet_logger.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-regex-timeout.rb DEV: Introduce regex_timeout_seconds global setting (#20774) 2023-03-22 12:01:35 +00:00
100-secret_token.rb
100-session_store.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-sidekiq.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-silence_logger.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-strong_parameters.rb
100-verify_config.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
100-wrap_parameters.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
101-lograge.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
200-first_middlewares.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
300-perf.rb
400-deprecations.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
assets.rb PERF: Improve workbox loading strategy (#22019) 2023-06-09 11:14:11 +01:00
filter_parameter_logging.rb DEV: Apply syntax_tree formatting to `config/*` 2023-01-09 11:13:29 +00:00
new_framework_defaults_7_0.rb Revert "DEV: Migrate existing cookies to Rails 7 format" 2023-01-12 12:07:49 +01:00