discourse/lib/tasks
David Taylor 8700c5ee6b
PERF: Make stylesheet hashes consistent between deploys (#18909)
Previously the stylesheet cachebusting hash was based on the maximum mtime of files. This works well in development and during in-container updates (e.g. via docker_manager). However, when a fresh docker image is created for each deploy, the file mtimes will change even if the contents has not.

This commit changes the production logic to calculate the cachebuster from the filenames and contents of the relevant assets. This should be consistent across deploys, thereby improving cache hits and improving page load times.
2022-11-07 16:13:35 +00:00
..
add_topic_to_quotes.rake
admin.rake DEV: Use strings for :user_email job type argument 2022-02-04 18:28:18 +00:00
annotate.rake DEV: Add `annotate` rake tasks, and enforce via GitHub actions 2021-07-06 10:11:06 +01:00
api.rake
assets.rake PERF: Make stylesheet hashes consistent between deploys (#18909) 2022-11-07 16:13:35 +00:00
auto_annotate_models.rake DEV: Allow annotations to work in symlinked plugins, add binstub (#13635) 2021-07-05 15:43:10 +01:00
autospec.rake DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
avatars.rake
backfill.thor
categories.rake FIX: rake categories:move_topics shouldn't move category description topic (#14797) 2021-11-03 11:27:51 +08:00
cdn.rake DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
db.rake Revert "DEV: Improve multisite db scripts in dev (#17337)" (#17801) 2022-08-04 16:15:06 -05:00
destroy.rake
dev.rake DEV: move `discourse_dev` gem to the core. (#13360) 2021-06-14 20:34:44 +05:30
docker.rake DEV: Parallelize core JS tests in docker.rake (#18756) 2022-10-26 12:00:35 +01:00
emails.rake DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
emoji.rake DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
export.rake DEV: Add a rake task to export/import translation overrides (#18487) 2022-10-05 15:22:16 -04:00
groups.rake
i18n.rake DEV: Update `i18n:check` rake task to detect invalid Markdown links (#13728) 2021-07-14 13:26:12 +02:00
images.rake DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
import.rake FEATURE: new site setting to hide user profiles by default. (#18864) 2022-11-06 16:44:17 +05:30
incoming_emails.rake
integration.rake DEV: Remove hints of jshint (#14828) 2021-11-08 09:12:37 +08:00
javascript.rake DEV: Remove usage of {{action}} modifiers - Take 2 (#18476) 2022-10-05 13:08:54 +01:00
log.rake FIX: whoops, linting 2020-09-03 12:10:11 +01:00
maxminddb.rake
plugin.rake DEV: initial system tests for chat and plugins (#18881) 2022-11-04 15:06:24 +01:00
populate.rake DEV: Add ability to populate private messages (#16705) 2022-05-12 14:29:49 -04:00
populate.thor DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
posts.rake DEV: Quote values when constructing SQL (#18827) 2022-11-01 14:05:13 -05:00
qunit.rake DEV: Allow `rake qunit` filter to be used alongside parallel option (#18326) 2022-09-22 10:28:02 +01:00
redis.rake FIX: add support for pipelined and multi redis commands (#16682) 2022-05-10 08:19:02 +10:00
release_note.rake DEV: Print plugin changes in details blocks (#18345) 2022-09-23 10:29:00 -04:00
revisions.rake DEV: Introduce debugging rake task for PostRevision issues (#17998) 2022-08-19 11:30:46 +01:00
rspec.rake
s3.rake PERF: Update `s3:expire_missing_assets` to delete in batches (#18908) 2022-11-07 12:53:14 +00:00
scheduler.rake
search.rake
site.rake FEATURE: Add dark mode option for category logos (#18460) 2022-10-07 11:00:44 -04:00
site_settings.rake
smoke_test.rake DEV: Minor linting fixes (#16359) 2022-04-02 21:15:38 +02:00
svg_icons.rake
tags.rake
themes.rake DEV: Add rake task to install a theme from an archive (#18890) 2022-11-04 16:42:07 -05:00
topics.rake DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
turbo.rake
typepad.thor
uploads.rake DEV: Quote values when constructing SQL (#18827) 2022-11-01 14:05:13 -05:00
users.rake