* 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>