Skip to content

Commit 299c0bf

Browse files
authored
Optimised image file size could grow after caching
Added an information tip about this bug in the Gregwar image library Gregwar/Image#115 which could cause image file sizes to grow a lot after processing.
1 parent f0679b8 commit 299c0bf

File tree

1 file changed

+3
-1
lines changed
  • pages/05.admin-panel/02.dashboard/01.configuration-system

1 file changed

+3
-1
lines changed

pages/05.admin-panel/02.dashboard/01.configuration-system/docs.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ This section determines how Grav handles media content. Image quality, file uplo
163163
| Cache All Images | Run all images through Grav's cache system even if they have no media manipulations. |
164164
| Image Debug Watermark | Show an overlay over images indicating the pixel depth of the image when working with Retina for example. |
165165
| File Upload Limit | Set maximum upload size in bytes (0 is unlimited). |
166-
| Enable Timestamps on Media | Appends a timestamp based on last modified date to each media item. |
166+
| Enable Timestamps on Media | Appends a timestamp based on last modified date to each media item.
167+
168+
!! Caching images that have already been optimised (outside of Grav) could result in the output file being a much larger filesize than the original. This is due to a bug in the Gregwar image library and not directly related to Grav (see this ![open issue](https://github.com/Gregwar/Image/issues/115) for more information). The alternative is to set "Cache All Images" to No
167169

168170
### Session
169171

0 commit comments

Comments
 (0)