Commit Graph

7201 Commits

Author SHA1 Message Date
4bfcbde65d Some more list improvements 2024-08-19 12:42:43 +08:00
160d690589 fix: do not select content from database for update since api 2024-08-19 10:21:24 +08:00
19ed5501f6 fix: select readable_content from library_item table if content is requested by search api 2024-08-19 10:09:42 +08:00
626c456364 fix: select readable_content from library_item table if content is requested by update since api 2024-08-19 10:00:38 +08:00
4674321531 reduce blocking domain to 1 hour 2024-08-18 12:37:10 +08:00
e6ebac5e13 fix: special handler for youtube shorts 2024-08-18 11:52:21 +08:00
541aa859d2 Use staleTime 2024-08-17 17:07:14 +08:00
f80570a1ac More debug 2024-08-17 16:13:15 +08:00
1e0df9016c More debugging 2024-08-17 15:54:19 +08:00
1e2c3b1f8f Fix typo 2024-08-17 15:40:33 +08:00
975ae6bee5 TEst out react-infinite-scroll-component 2024-08-17 15:36:27 +08:00
3435edfb51 Remove maxPages 2024-08-17 15:21:57 +08:00
b0e7737e18 Add getPreviousPage 2024-08-17 14:43:22 +08:00
35c7954809 Comment out old containers temporarily 2024-08-17 14:23:37 +08:00
095e75f7bd Attempt at using maxPages 2024-08-17 14:19:26 +08:00
675e17da79 Add pending items 2024-08-16 17:16:29 +08:00
26c7e95a00 update folder 2024-08-16 16:50:46 +08:00
9a2490253c Improve fetchMore, add debug 2024-08-16 15:55:36 +08:00
accab510a7 if only rank orders are present, add saved at order 2024-08-16 15:15:11 +08:00
e3fd98e47c More debugging 2024-08-16 10:47:48 +08:00
173691048b perf: remove additional order by clause to use the correct order index 2024-08-15 22:10:36 +08:00
03b8750413 Revert "perf: add index on labels columns to library_item table"
This reverts commit 706277085a.
2024-08-15 22:09:47 +08:00
706277085a perf: add index on labels columns to library_item table 2024-08-15 21:57:41 +08:00
32097de62f perf: reduce number of column returned by search query 2024-08-15 21:24:57 +08:00
3a07b21ec7 perf: stop serving content in search and update since api 2024-08-15 21:09:40 +08:00
efb1feb86a perf: compress response body 2024-08-15 20:44:08 +08:00
641c64e108 Try max pages 5 2024-08-15 16:51:08 +08:00
49b66f3504 Remove the cache busting 2024-08-15 16:27:05 +08:00
3ceb18400c Only allow three pages of data to be refreshed 2024-08-15 15:24:02 +08:00
913ad0c5d4 More cache key debugging 2024-08-15 13:20:29 +08:00
68cfc8df80 Merge branch 'omnivore-app:main' into main 2024-08-15 00:48:30 -04:00
9707b1bc7f fix: bulk upload files ui 2024-08-15 00:48:10 -04:00
5f94a2a38b Remove stale time on infinite query 2024-08-15 12:35:39 +08:00
9e86ddc39b Improve cache key when no query, reduce stale time 2024-08-15 12:20:24 +08:00
5373f16328 Add a staleTime to library items query 2024-08-15 11:56:22 +08:00
39da8e60c1 More debugging on infinite scroll 2024-08-15 11:39:26 +08:00
7c7a55e475 Stop support for old plugin clients 2024-08-14 19:31:23 +08:00
cff44b83a8 fix: total count cache should be fixed for pagination 2024-08-14 16:10:41 +08:00
e388d6102c Merge pull request #4264 from omnivore-app/fix/cache-api-response
fix/cache api response
2024-08-14 13:09:24 +08:00
c9aa90b3ae more debugging logs 2024-08-14 13:04:29 +08:00
8b9ab287d7 add debugging logs 2024-08-14 13:00:53 +08:00
4bf3e4ba0f delete count cache after bulk action or empty trash 2024-08-14 12:59:52 +08:00
9923a3baa1 Set a stale time to try to prevent over fetching 2024-08-14 12:55:45 +08:00
4fcf025611 update cache when user is updated 2024-08-14 12:24:35 +08:00
e16acb7f60 Use react-query for most viewer queries to get better caching, remove the maxpages on library as that broke scrolling 2024-08-14 11:41:55 +08:00
4c992f74ec Merge pull request #4260 from omnivore-app/perf/cache-api-response
perf/cache api response
2024-08-14 11:32:19 +08:00
e0b1a01f8f Set a max age on CORs requests 2024-08-14 10:19:17 +08:00
45fdc0d474 cache shortcuts for 600 seconds 2024-08-14 10:18:11 +08:00
e05ff942b1 cache features for 600 seconds 2024-08-14 10:09:37 +08:00
48f427401f Set maxPages to 2, dont disable refetch yet 2024-08-14 10:01:51 +08:00