fix: thumbnail should show last thumbnail in server in any condition#858
fix: thumbnail should show last thumbnail in server in any condition#858fmartingr merged 16 commits intogo-shiori:masterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #858 +/- ##
==========================================
- Coverage 35.17% 34.08% -1.10%
==========================================
Files 61 60 -1
Lines 4065 4008 -57
==========================================
- Hits 1430 1366 -64
- Misses 2413 2420 +7
Partials 222 222 ☔ View full report in Codecov by Sentry. |
|
I'm thinking that instead of the query parameter, what do you think if we send the What do you think? |
|
@fmartingr thanks for idea. i prefer this way but after review some question stil exist for me:
do you want approach 2 or 3? |
|
Can you refactor Something along the lines: And if we don't provide What do you think? |
|
@fmartingr i work on that to impeliment ETag there too.
but combine Etag (improve performance no need each time open that file 7fb2721) with previous approach (add modifiedAt to that url c91ce2c) can be somehow useless in this case because if we used modifiedAt than unnecessary request will not send by default do you have any idea? |
|
If the best course of action here is to provide a queryparameter with the modified time, let's go for that so we fix the bug. Any improvements can be handled later. |
|
@fmartingr i use queryparamet |
thumbnail not update in browser sometimes.
bun.lockbupdate withmake styleso i just push that too.Closes #857
Depends on #896