Commit Graph
14 Commits
Author SHA1 Message Date
Brent Simmons ebfa6ed0e4 Delete least recently used images on disk once a size cap is reached. 2026-10-27 10:09:36 -07:00
Brent Simmons fd191c154f Record image size, etag, etc. 2026-10-26 22:20:16 -07:00
Brent Simmons 3e962e641f Record images with insignificant dimensions separately from download failures, so they don’t hide feed icons. 2026-10-26 19:57:25 -07:00
Brent Simmons f2ac871b99 Create ArticleThumbnailFinder and ArticleThumbnailTable to find thumbnails. 2026-10-25 11:57:49 -07:00
Brent Simmons 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -07:00
Brent Simmons 75755af700 Use browser agent UA for image and theme downloads. Fixes #4868. 2026-07-29 10:17:31 -07:00
Brent Simmons e412f333d6 Remove no-longer-needed DatabaseResult. 2026-06-10 13:23:24 -07:00
Brent Simmons fea5b057d3 Use DELETE instead of WAL, since we're not doing concurrent reads on databases. 2026-05-31 11:58:39 -07:00
Brent Simmons 6fdda05ec3 Report per-database duration when vacuuming. 2026-05-29 16:51:35 -07:00
Brent Simmons 13d123f365 Add logging for initial fetches. Plenty fast on my M1 Mac: homePageFavicon 245 rows in 0.000416 seconds, feedIconURL 13 rows
in 0.000048 seconds, downloadFailure 48 rows in 0.000077 seconds, total 0.000564 seconds
2026-05-29 11:20:46 -07:00
Brent Simmons 2205420868 Use WAL for image database. 2026-05-29 11:00:04 -07:00
Brent Simmons 41b3883906 Make ImageMetadataDatabase the sole source of metadata info. Make it @MainActor so it’s easier to use from other code. 2026-05-29 10:08:08 -07:00
Brent Simmons 1ad3a09680 Rename lastStatusCode to statusCode. 2026-05-29 09:23:29 -07:00
Brent Simmons 40cda0b2be Add Images module which manages a database of metadata about images. 2026-05-29 08:52:54 -07:00