Skip to content

Conversation

bsyk
Copy link
Owner

@bsyk bsyk commented Mar 30, 2025

Which consolidates domains into fewer lists, deleting any empty lists.
Domains are sorted by the time they were first added to one of our lists, by using a timestamp in the description field.
This is done so that more stable entries end up in the earlier lists and domains that come and go are in the later lists.
This enables the patching to be more efficient, touching only the later lists in most cases.

This feature is only useful if using the "refresh" mode to patch list files rather than delete/create each time.

Unfortunately the CF API does not allow specifying the created_at property while adding an entry to the list, so we use the description as a place to store this detail.

Which consolidates domains into fewer lists, deleting any empty lists.
Domains are sorted by the time they were first added to one of our lists. This is done
so that more stable entries end up in the earlier lists and domains that come and go are in the later lists.
This enables the patching to be more efficient, touching only the later lists.
@bsyk bsyk marked this pull request as ready for review March 30, 2025 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant