discourse/lib/theme_store
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
..
git_importer.rb SECURITY: Improve theme git import (#12694) 2021-04-14 15:32:47 +01:00
zip_exporter.rb PERF: Improve theme stylesheet compilation performance (#12850) 2021-04-27 14:33:43 +01:00
zip_importer.rb FIX: Allow importing themes with subdirectories in extra_js 2019-11-13 23:45:09 +00:00