1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-22 22:04:19 +00:00
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 
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
gen.go
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
genman.go
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_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
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
mod_npm.go
new.go Fix usage description 2022-09-08 15:35:11 +02:00
new_content_test.go
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