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

Use browser cache for image caching #4

Open
plankes-projects opened this issue Aug 25, 2020 · 0 comments
Open

Use browser cache for image caching #4

plankes-projects opened this issue Aug 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@plankes-projects
Copy link
Owner

Currently images are stored in database and loaded via a base64 data url. Change this.

  • Provide data path at server startup
  • Store images in this path
  • Create api endpoint to load images from that path
  • Image name should be sha2 of image data
  • use 'normal' url to load images such that browser will cache it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant