49 Commits

Author SHA1 Message Date
SukkaW
f0a3b3e915 Chore: minor changes 2024-11-04 09:29:57 +08:00
SukkaW
f2ec6508c8 Fix single asset fetch 2024-10-21 18:03:03 +08:00
SukkaW
98d75888cb Housekeeping 2024-10-21 17:56:43 +08:00
SukkaW
db7a4bc97a Chore: use more make-fetch-happen 2024-10-21 02:18:03 +08:00
SukkaW
4c1c237fc3 Cache SQLite statement 2024-10-18 01:55:47 +08:00
SukkaW
a8c9cc5ac5 Minor changes to fs memo implementation / Adapt fs memo 2024-10-18 01:16:12 +08:00
SukkaW
489d73ec86 Feat: new fs memo cache 2024-10-17 22:16:20 +08:00
SukkaW
87abb12dc7 Patch undici and use w/ request 2024-10-17 01:54:53 +08:00
SukkaW
c5ee4bad53 Revert undici.request and use fetch again 2024-10-15 22:57:27 +08:00
SukkaW
8a0a50d049 Fix corrupt local cache 2024-10-15 20:31:18 +08:00
SukkaW
e0f7e7e48a Refactor: replace fetch with undici.request 2024-10-15 19:18:51 +08:00
SukkaW
ac470d4af9 Fix: ignore empty response 2024-10-15 18:49:00 +08:00
SukkaW
824fde2fc0 Fix types 2024-10-15 18:17:45 +08:00
SukkaW
79da4e18fc Refactor: use retry from undici 2024-10-14 01:55:49 +08:00
SukkaW
e40979e50e Chore: make ESLint Happy 2024-10-10 21:40:56 +08:00
SukkaW
a92a0f6f1a Refactor: simplify parallel cached fetching 2024-10-10 13:58:56 +08:00
SukkaW
99e5d46531 Fix types 2024-10-09 21:12:15 +08:00
SukkaW
3e7ef5a294 Chore: print statusCode when cache miss 2024-10-09 20:58:06 +08:00
Sukka
2e48a72a3c
Feat: implement parallel fetch w/ HTTP 304 (#43) 2024-10-09 20:49:36 +08:00
Sukka
07d3fdf05b
Feat: implement HTTP 304 with SQLite Cache (#42) 2024-10-09 09:25:25 +08:00
SukkaW
1783cccf7f Refactor: add more parsing 2024-09-21 16:43:01 +08:00
SukkaW
deadf16ae8 Perf: cache phishing hosts process 2024-09-13 22:19:35 +08:00
SukkaW
27c4004c0d Support extra cacheKey 2024-09-02 20:46:10 +08:00
SukkaW
8a0690fe9e Housekeeping & Make ESLint Happy 2024-08-26 08:24:39 +08:00
SukkaW
f761546a05 Chore: add cache key to fs cache 2024-08-04 23:17:52 +08:00
SukkaW
bb65a4180c Refactor: drop all Bun compatability 2024-07-24 10:59:05 +08:00
SukkaW
553dd62eb1 Refactor: make Node.js run compatible 2024-07-23 17:42:10 +08:00
SukkaW
e0e79c9fe5 Refactor: drop Bun.nanoseconds & Bun.sleep 2024-07-23 15:57:25 +08:00
SukkaW
b1481c87f2 Refactor: Bun.peek polyfill for Node.js 2024-07-23 15:46:38 +08:00
SukkaW
1d8c991baf Perf: faster string[] join 2024-06-28 17:25:54 +08:00
SukkaW
df6bbb68a0 Chore: improve types 2024-05-02 00:52:02 +08:00
SukkaW
f9a0445cbf Chore: housekeeping 2024-04-16 11:06:00 +08:00
SukkaW
2982d74a55 CI: save cache even when build failed 2024-02-08 23:24:48 +08:00
SukkaW
7b2334ee3b Minor changes here and there 2024-02-06 15:49:51 +08:00
SukkaW
efa1ab254e Finish fs cache changes / tracer optimization 2024-02-02 11:33:08 +08:00
SukkaW
8428b3da42 Minor changes to fs cache 2024-02-02 00:15:46 +08:00
SukkaW
e626a6b5d2 Perf: use Bun.peek() to save a few ticks 2024-01-28 22:40:56 +08:00
SukkaW
c95e96fc61 Chore: refine reject domainset building 2024-01-28 22:28:58 +08:00
SukkaW
b55a7decb9 Perform VACCUM once per week 2024-01-15 16:25:57 +08:00
SukkaW
897a505c32 Minor changes 2024-01-14 02:20:36 +08:00
SukkaW
e8f3519479 Perf: minor optimization here and there 2024-01-11 11:56:15 +08:00
SukkaW
f5436b7763 Refactor: update library implementation 2024-01-09 14:59:36 +08:00
SukkaW
62ee184921 Update Reject Hosts 2024-01-07 22:57:29 +08:00
SukkaW
61b88c5807 Perf: adjust cache TTL 2024-01-07 00:40:40 +08:00
SukkaW
8c150e87c2 Perf: add more cache 2023-12-31 21:20:30 +08:00
SukkaW
c85f9fac0c Perf: enforce more cache 2023-12-31 03:01:43 +08:00
SukkaW
85801b1b9e Perf: use filesystem cache 2023-12-31 02:43:10 +08:00
SukkaW
d7c8bf8d11 Chore: fix leak thread 2023-12-24 01:55:25 +08:00
SukkaW
230ac3eb18 Chore/CI: use fs cache to save bandwidth 2023-12-24 00:19:31 +08:00