* Adds an option to allows only presets in the URL. If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var.
If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var.
* Add parsePathPresets function
Following DarthSim suggestion, I added a parsePathPresets function and remove the code inside parseURLOptions.
Month of testing and profiling show that fasthttp doesn't gives us significatnt profit in memory and performance while being incompatible with many third-side packages and http/2
* adds Client Hints support using env variable.
* Update processing_options.go
Co-Authored-By: selul <marius.cristea@vertistudio.com>
* improve client hints support based on the feedback
* fix build error and remove redundant line in docs.
* CircleCI
* Fix docs resize_type -> resizing_type (#91)
As noted in my issue...
* Option to use truncated signature
* Don't use 0 as no-limit for SignatureSize
* Add ETag caching support
* Update the readme file
* Typo
* Calculate ETag before image processing, rename Env Var
* Make PO struct field public
* Generate random value on server startup to be used in ETag calculation
* Minor refactoring
* Adjust boolean value parsing as discussed in GitHub PR page
* Move random value generation to the config
* Update README
* Revert changes
* Use footprint to calculate the hash of an image