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
Caching the generated images #25
Comments
You're absolutely right |
The problem with using a guid is that we wouldn't be able to find out which file is associated with the specified subtext. Not really sure why that line would cause a memory leak though. |
Leak is taken care off, internale issue in the image library. |
Alright. If we're just going to do it per-user then caching may not make sense for the moment though. Otherwise, the subtext would not be able to be changed once it's been cached. |
Oh.. you're absolutely right. |
Avatar caching is in place. Keeping this issue on low prio for future banner caching |
Isn't banner cached already? It seems the banners are saved in |
the least created one, yes |
It would probably be a good idea to keep the images that are generated for a certain period of time so we're not generating a new image on every request. The image is also being overridden on each request and this can cause exceptions when the file is locked if there are concurrent requests.
Also, the file is named the same regardless of what the subtext is, which can cause conflicts if we were to cache the images. I think to resolve the naming conflicts, we can append a md5 hash of the subtext to the end of the filename.
The text was updated successfully, but these errors were encountered: