1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
imgproxy/imagedata
dcanob f37d027f4f
add config fallback ttl to avoid default ttl when fallback response (#818)
* add config fallback ttl to avoid default ttl when fallback response

* Update docs/configuration.md

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

* move FallbackTTL to loadFallbackImage

* rewrite ifelse

* Update imagedata/image_data.go

don't use config.FallbackTTL on header to get TTL on the response

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

* Update processing_handler.go

don't use config.FallbackTTL on header to get TTL on the response

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>

* rename FallbackTTL to FallbackImageTTL

* Update processing_handler.go

* Fix linter errors

Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com>
2022-03-31 13:36:13 +06:00
..
download.go IMGPROXY_MAX_REDIRECTS config (#797) 2022-02-16 15:42:09 +06:00
image_data.go add config fallback ttl to avoid default ttl when fallback response (#818) 2022-03-31 13:36:13 +06:00
read.go Respond with 500 for "temporary" downloading errors 2021-11-01 18:13:33 +06:00
timeout.go Merge branch 'version/3' into version/3-refactoring 2021-06-28 16:11:33 +06:00