Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect if site content has changed #95

Open
m-i-l opened this issue Mar 25, 2023 · 0 comments
Open

Detect if site content has changed #95

m-i-l opened this issue Mar 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@m-i-l
Copy link
Contributor

m-i-l commented Mar 25, 2023

The Solr schema has had site_last_modified for a while. The original idea had been to populate this based on the most recent page_last_modified value (based on the Last-Modified header) for a site. However, so few sites use this, or use it in a not so useful way (e.g. static site generators setting the same last modified date for every page on site regeneration even for posts which haven't been modified in years), that it wasn't useful setting site_last_modified based on page_last_modified, so it remained unused. However when #94 is implemented it should be possible to set the site_last_modified for the first time.

Once set, it could be useful for all sorts of things, e.g. adding to the sort options for Browse, decreasing the indexing frequency for sites that haven't been updated in a long time, potentially automatically detecting and delisting sites which look dead, and maybe even used in the scoring.

Note that if basing it solely on the content_last_modified value, it is possible it might miss some other updates, e.g. to the title, author, description, or tags. It may be worth naming content_last_change_detected, page_last_change_detected and site_last_change_detected to differentiate from the page_last_modified set from the site's headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant