Skip to content

Add custom sync stategy #22

Closed
Closed
@badsyntax

Description

@badsyntax

The current sync strategy is hard-coded and compares contents hash, content-type & cache-control headers to determine whether to sync or not.

Let's make this more flexible and let the user decide how to sync.

Something like:

sync-strategy: |
    # criteria
    etag
    headers.Content-Type
    headers.Cache-Control
    size
    modifiedTime

Not sure on the format, but this shows the intended level of flexibility.

In the above example the criteria are AND'ed. The user can remove or add criteria.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions