Skip to content

Commit

Permalink
enable cache by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tobimori authored Oct 12, 2023
1 parent cfc4896 commit cb5c946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
'thUri' => fn (array $options = []) => $this->thumbhashUri($options),
],
'options' => [
'cache.encode' => false,
'cache.decode' => false,
'cache.encode' => true,
'cache.decode' => true,
//'engine' => 'gd', // `gd` or `imagick` - TODO
'blurRadius' => 1, // Blur radius, larger values are smoother, but less accurate
'sampleMaxSize' => 100, // Max width or height for smaller image that gets encoded (Memory constraints)
Expand Down

0 comments on commit cb5c946

Please sign in to comment.