-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix: PDF is not cached #32678
Merged
Merged
Fix: PDF is not cached #32678
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
6749e0a
fix: pdf not cached
tienifr 0624e89
fix lint
tienifr 552592c
fix lint
tienifr ad010da
Merge branch 'main' of https://github.com/tienifr/App into fix/32232
tienifr 7ef7951
Merge branch 'main' of https://github.com/tienifr/App into fix/32232
tienifr eff555e
Merge branch 'main' of https://github.com/tienifr/App into fix/32232
tienifr 35c7989
remove cached file when delete comment
tienifr f296a75
Merge branch 'main' into fix/32232
tienifr 0d97aef
Merge branch 'main' of https://github.com/tienifr/App into fix/32232
tienifr 6981075
resolve comments
tienifr 5baa4b8
Merge branch 'main' into fix/32232
tienifr 9379469
seperate platform logic
tienifr 6eb146a
add types for CachedPDFPaths
tienifr e3c7d72
Merge branch 'main' into fix/32232
tienifr 55884df
fix lint
tienifr adfae33
Merge branch 'main' of https://github.com/tienifr/App into fix/32232
tienifr f7ed37e
remove redundant condition
tienifr abd5347
delete cache for transaction receipt
tienifr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tienifr I think we should raise a discussion for the expiration interval. IMO 12 hours should be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raised discussion on Slack.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another question: will the cache be removed when attachment is deleted from the chat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it does not. But it still gets removed when we logged out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should clear the cache when the attachment is deleted, and i am not sure how this will work incase of protected pdf i am checking.