Image Caching
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Is your feature request related to a problem? Please describe.
When switching between notes the images within the notes are downloaded again. The sessionId and sessionToken values in the image URLs change when switching notes. I understand that this is done for increased security and session hijacking. But I have notes with 50+ not-so-small images and opening such a note takes sometimes 30 seconds until I can really use the note. The image link itself works for some time even when a new sessionId was created.
Describe the solution you'd like
Ensure that the sessionId and sessionToken values stay the same, e.g. for 5 minutes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where image URLs and the sessionId/sessionToken values are generated when switching notes. Verify that switching notes reuses those values for five minutes, that images load without repeated downloads, and that the existing security behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100