discourse/app
David Taylor 1fd8f6df5f
PERF: Improve theme stylesheet compilation performance (#12850)
When building the `scss_load_paths`, we were creating a full export of the theme (including uploads), and not cleaning it up. With many uploads, this can be extremely slow (because it downloads every upload from S3), and the lack of cleanup could cause a disk to fill up over time.

This commit updates the ZipExporter to provide a `with_export_dir` API, which takes care of cleanup. It also adds a kwarg which allows exporting only extra_scss fields. This should make things much faster for themes with many uploads.
2021-04-27 14:33:43 +01:00
..
assets FEATURE: the ability to search users by custom fields (#12762) 2021-04-27 15:52:45 +10:00
controllers PERF: Remove N+1s from ThemeController#update and #show (#12842) 2021-04-27 12:30:29 +01:00
helpers Revert "FEATURE: Allow theme tests to be run in production (#12815)" (#12840) 2021-04-26 23:05:58 +03:00
jobs FEATURE: A low priority filter for the review queue. (#12822) 2021-04-23 15:34:24 -03:00
mailers FEATURE: Auto-activate users invited by email (#12675) 2021-04-14 12:15:56 +03:00
models PERF: Improve theme stylesheet compilation performance (#12850) 2021-04-27 14:33:43 +01:00
serializers FEATURE: the ability to search users by custom fields (#12762) 2021-04-27 15:52:45 +10:00
services FEATURE: the ability to search users by custom fields (#12762) 2021-04-27 15:52:45 +10:00
views Revert "FEATURE: Allow theme tests to be run in production (#12815)" (#12840) 2021-04-26 23:05:58 +03:00