0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Disabled Sharp image cache to improve memory usage

refs 03d24ea4fe

- see the referenced commit for the full explanation but in short, Sharp
  has an internal cache it uses when optimizing images and it defaults
  to 50MB. This cache is not needed for our use-case because we never
  optimize images twice
- `@tryghost/image-transform` has been updated to disable the cache and
  this commit bumps the package in Ghost
This commit is contained in:
Daniel Lockyer 2021-11-05 12:24:45 +00:00
parent e25f1df0ae
commit ed4586c28c
No known key found for this signature in database
GPG key ID: D21186F0B47295AD
2 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@
"@tryghost/errors": "0.2.17",
"@tryghost/express-dynamic-redirects": "0.2.1",
"@tryghost/helpers": "1.1.52",
"@tryghost/image-transform": "1.0.17",
"@tryghost/image-transform": "1.0.18",
"@tryghost/job-manager": "0.8.11",
"@tryghost/kg-card-factory": "3.1.0",
"@tryghost/kg-default-atoms": "3.1.0",

View file

@ -1432,10 +1432,10 @@
lodash "^4.17.21"
uuid "^8.3.2"
"@tryghost/image-transform@1.0.17":
version "1.0.17"
resolved "https://registry.yarnpkg.com/@tryghost/image-transform/-/image-transform-1.0.17.tgz#67814e3101694897effdb2a00b84c08e5cedc6b8"
integrity sha512-mPNBHOdxV0O0Y+SPDWoDZkF34NyVfQBXF5Bi1l9vGgBACl1qwoz6Acj+p4XcLoOcZoCAVx12c80bhNWE4SDsMQ==
"@tryghost/image-transform@1.0.18":
version "1.0.18"
resolved "https://registry.yarnpkg.com/@tryghost/image-transform/-/image-transform-1.0.18.tgz#bb8d63a0c683c4f04b20f662e187660d0bfcb168"
integrity sha512-+ZVdixV3Apw1AMiAr9e3aSYKc2tR9OTVUs61M96BTVZbVHWT3YMd53mvGZDvk4WRWOOMjBBmcml0ijuhI1taPw==
dependencies:
"@tryghost/errors" "^0.2.17"
bluebird "^3.7.2"