discourse/lib/tasks
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
..
add_topic_to_quotes.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
admin.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
annotate.rake FEATURE: Create legal topics for set company name (#21620) 2023-05-24 23:05:36 +03:00
api.rake FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
assets.rake PERF: Improve workbox loading strategy (#22019) 2023-06-09 11:14:11 +01:00
auto_annotate_models.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
autospec.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
avatars.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
backfill.thor DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
categories.rake FIX: Update category tag stats with new or deleted (#21531) 2023-05-18 12:46:44 +03:00
cdn.rake DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
db.rake DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
destroy.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
dev.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
docker.rake DEV: Increase docker.rake system test timeout time to match CI (#21339) 2023-05-02 12:12:03 -05:00
documentation.rake DEV: Restore the documentation format in system tests (#21471) 2023-05-12 11:13:52 +02:00
emails.rake FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
emoji.rake DEV: prevents `rake emoji:update` to run on prod (#21594) 2023-05-16 20:46:57 +02:00
export.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
groups.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
hashtags.rake DEV: Capture output in hashtags spec (#20773) 2023-03-23 11:47:14 +10:00
i18n.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
images.rake DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
import.rake FIX: mark posted as true for post authors in the TopicUser table during ensure_consistency task (#20473) 2023-02-28 20:45:32 -04:00
incoming_emails.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
integration.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
javascript.rake PERF: Improve workbox loading strategy (#22019) 2023-06-09 11:14:11 +01:00
log.rake FIX: whoops, linting 2020-09-03 12:10:11 +01:00
maxminddb.rake DEV: Ensure `maxminddb:fetch` works as standalone task (#21893) 2023-06-01 21:46:49 +01:00
plugin.rake DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
populate.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
populate.thor DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
posts.rake DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
profile.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
qunit.rake DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
redis.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
release_note.rake DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
revisions.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
rspec.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
s3.rake FEATURE: allow S3 ACLs to be disabled (#21769) 2023-06-06 15:47:40 +10:00
scheduler.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
search.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
site.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
site_settings.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
smoke_test.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
svg_icons.rake DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
svg_sprites.rake DEV: Store theme sprites in the DB (#20501) 2023-03-14 13:11:45 -05:00
tags.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
themes.rake DEV: Wrap remote theme update in transaction (#21302) 2023-04-28 12:11:53 -05:00
topics.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
turbo.rake DEV: Fix bin/turbo_rspec runtime recording (#20407) 2023-02-23 07:47:11 +10:00
typepad.thor DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
uploads.rake DEV: Add both safe and unsafe Discourse.store.download methods (#21498) 2023-05-11 17:27:27 +08:00
users.rake clear security keys in disable_2fa rake task (#20586) 2023-03-09 15:38:59 -05:00