Ghost/ghost/external-media-inliner
Naz 93ea9a2976
Added a not on media inlining perf improvement
refs https://github.com/TryGhost/Toolbox/issues/524

- Fetching media from a remote server is an expensive network operation. Given there's probability for the content to reuse the same image in different posts or in multiple places, we could save on extra fetches by adding caching to the remote media fetch method
2023-03-08 14:16:28 +08:00
..
lib Added a not on media inlining perf improvement 2023-03-08 14:16:28 +08:00
test Fixed inlined media storage path 2023-03-07 18:42:58 +08:00
.eslintrc.js
index.js
package.json
README.md

External Media Inliner

Service that processes post contents and downloads/inlines external media

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests