hugo/hugofs
Bjørn Erik Pedersen 29ccb36069 Fix /static performance regression from Hugo 0.103.0
In `v0.103.0` we added support for `resources.PostProcess` for all file types, not just HTML. We had benchmarks that said we were fine in that department, but those did not consider the static file syncing.

This fixes that by:

* Making sure that the /static syncer always gets its own file system without any checks for the post process token.
* For dynamic files (e.g. rendered HTML files) we add an additional check to make sure that we skip binary files (e.g. images)

Fixes #10328
2022-09-26 19:02:25 +02:00
..
files
glob Consolidate the glob case logic 2022-09-23 16:19:21 +02:00
createcounting_fs.go
decorators.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
fileinfo.go postcss: Fix import error handling 2022-05-15 20:25:25 +02:00
fileinfo_test.go
filename_filter_fs.go
filename_filter_fs_test.go
filter_fs.go
filter_fs_test.go
fs.go Fix /static performance regression from Hugo 0.103.0 2022-09-26 19:02:25 +02:00
fs_test.go
glob.go Consolidate the glob case logic 2022-09-23 16:19:21 +02:00
glob_test.go Consolidate the glob case logic 2022-09-23 16:19:21 +02:00
hasbytes_fs.go Fix /static performance regression from Hugo 0.103.0 2022-09-26 19:02:25 +02:00
hashing_fs.go
hashing_fs_test.go
language_merge.go Replace all usage of CopyOnWriteFs with OverlayFs 2022-04-10 13:49:31 +02:00
noop_fs.go Replace all usage of CopyOnWriteFs with OverlayFs 2022-04-10 13:49:31 +02:00
nosymlink_fs.go
nosymlink_test.go
rootmapping_fs.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
rootmapping_fs_test.go
slice_fs.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
stacktracer_fs.go
walk.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
walk_test.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00