hugo/commands
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
..
commandeer.go commands: Fix case where languages cannot be configured 2022-05-27 13:34:20 +02:00
commands.go basefs: add noBuildLock flag 2022-05-24 13:57:23 +02:00
commands_test.go server: Fix redirects when file path contains bytes > 0x80 2022-09-18 15:16:11 +02:00
config.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
convert.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
deploy.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
env.go Add complete dependency list in "hugo env -v" 2021-04-09 08:07:22 +02:00
gen.go Remove hugo gen autocomplete 2022-02-01 23:23:30 +01:00
genchromastyles.go deps: Udpate to github.com/alecthomas/chroma/v2 2022-06-14 14:08:40 +02:00
gendoc.go commands: Change link protocol to https 2022-03-25 15:29:50 +01:00
gendocshelper.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
genman.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00
helpers.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
hugo.go Fix /static performance regression from Hugo 0.103.0 2022-09-26 19:02:25 +02:00
hugo_test.go Use configured timeZone for the clock 2022-05-08 16:56:26 +02:00
hugo_windows.go Import time/tzdata on Windows 2021-08-14 12:09:41 +02:00
import_jekyll.go import: Fix importing jekyll site 2022-05-21 23:44:40 +02:00
import_jekyll_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
limit_darwin.go Adjust rlimit logic 2019-04-07 00:53:55 +02:00
limit_others.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
list.go Add clock cli flag 2022-05-08 16:56:26 +02:00
list_test.go Add clock cli flag 2022-05-08 16:56:26 +02:00
mod.go Misc depreation updates 2022-01-04 17:10:39 +01:00
mod_npm.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
new.go Fix usage description 2022-09-08 15:35:11 +02:00
new_content_test.go commands: Fix config environment handling 2020-01-31 16:36:36 +01:00
new_site.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
new_theme.go Add clock cli flag 2022-05-08 16:56:26 +02:00
nodeploy.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
release.go Add linux/arm64 extended to release setup 2022-08-28 18:23:01 +02:00
release_noop.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
server.go server: Fix 404 redirects on Windows 2022-09-23 13:07:56 +02:00
server_errors.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
server_test.go server: Fix 404 redirects on Windows 2022-09-23 13:07:56 +02:00
static_syncer.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
version.go Add tpl/site and tpl/hugo 2018-12-06 14:37:25 +01:00