mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
![]() Add `If-None-Match` and `If-Modified-Since` headers as appropriate to the feed fetcher's requests. On well-configured web servers, this should short-circuit the request and reduce the amount of bandwidth and processing that is necessary. A new table was added to the FeedDb to hold one etag per domain. If-Modified-Since semantics are based on the creation date for the feed database, which should serve as a cutoff date for the earliest update we can have received. This completes the changes for Issue #136. |
||
---|---|---|
.. | ||
api | ||
java/nu/marginalia | ||
test/nu/marginalia | ||
build.gradle | ||
readme.md |
This is a subsystem that allows on-demand screenshot capture of a website.
It uses the local browserless API to capture data. To use this module,
you must have a browserless docker container running on machine, and
then set the live-capture.browserless-uri
system property to the
address of the browserless container (e.g http://my-container:3000/
).
When disabled, the subsystem will acknowledge the request, but will not act on it.
The module will only enable on the primary node of a service to simplify dealing with race conditions and duplicate requests.