Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime performance imporovements #6

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

tadejs
Copy link

@tadejs tadejs commented Oct 17, 2013

  • the resized images are not pngs, but the same format as the original image. PNG photos can get quite heavy.
  • check HTTP If-Modified-Since and return 304 if the person already has the image on his computer - we can avoid re-sending it every time.
  • the entire image is not loaded on every request anymore - if we have a cached version of the matching size, just render that, and don't touch the original PilImage

@vinyll vinyll force-pushed the master branch 2 times, most recently from 0a17394 to 7b8b1b1 Compare September 7, 2023 21:27
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