Update scylla test config

This commit is contained in:
Harrison Burt 2022-03-30 23:28:29 +01:00
parent 20d2e6a3f8
commit 8703a538da
1 changed files with 28 additions and 4 deletions

View File

@ -10,14 +10,38 @@ global_cache:
buckets:
user-profiles: # Define a bucket called "user-profiles", this is accessable out of `/images/user-profiles`.
mode: aot # Optimise images as and when they're required then store them.
# mode: aot # Optimise images as and when they're required then store them.
# formats:
# png: true # Enable PNG encoding.
# jpeg: true # Enable JPEG encoding.
# webp: false # Disable WebP encoding.
# gif: false # Disable GIF encoding.
#
# default_serving_format: jpeg # Serve the WebP format by default.
#
# cache: null # Use the global cache handler.
mode: realtime # Optimise images as and when they're required then store them.
formats:
png: true # Enable PNG encoding.
png: true # Disable PNG encoding.
jpeg: true # Enable JPEG encoding.
webp: false # Disable WebP encoding.
webp: true # Enable WebP encoding.
gif: false # Disable GIF encoding.
default_serving_format: jpeg # Serve the WebP format by default.
original_image_store_format: jpeg
webp_config:
quality: 80 # Set lossy quality to 80%
method: 4 # Opt on the side of performance slightly more than quality.
threading: true # Enable multi-threaded encoding.
default_serving_format: png # Serve the WebP format by default.
default_serving_preset: medium-square # Use the "medium-square" sizing preset by default.
presets:
medium-square: # Define a new resizing preset.
width: 500 # 500px
height: 500 # 500px
cache: null # Use the global cache handler.