Dynamic Image Resizing: Caching options

We are currently testing our Dynamic caching implementation with Testing dynamic image resizing PoC on Gitlab.com.

One of the concerns with dynamic image resizing is repeatedly resizing the same image and the compute costs involved. This issue will identify opportunities for caching dynamically created images.

Considerations (these may have already been researched or calculated in other issues)

  • Cost to compute resized image vs. cost of caching
  • When is the image dynamically scaled vs. call to cache
  • What types of caching should be considered
  • Volume of images being resized
  • Ensure that we have the correct headers - insert link to documentation here

cc @gitlab-org/memory-team

Edited by Craig Gomes