Skip to content

Conversation

@GeopJr
Copy link
Owner

@GeopJr GeopJr commented May 26, 2024

⚠️ WIP

Mostly discussed on #954

Bringing back the classic in-memory cache.

Benefits:

  • Avoid creating multiple paintables of the same image, lowering ram usage
  • Avoid processing already processed images

TODO:

  • Add a "dont cache" option. We really don't want to cache profile pics/banners. They change but the url stays the same, let libsoup handle their caching
  • Combine with feat(emoji): libsoup cache lookup #915
  • Increase maintenance timeout to probably 1 minute?
  • Use url hashes instead (same as feat(emoji): libsoup cache lookup #915)
  • More testing on the media viewer... maybe let libsoup handle that?
  • A way to update paintables so race conditions / updates don't break existing ones? Or maybe not inserting if it exists already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant