This is old and out-dated. Please see https://doc.replicache.dev/strategies/overview instead.

All Diff Strategies for Replicache share the same key elements:

For example in the The Last-Modified Strategy the version is the highest LastModified field in a Client View, and the diff function is just returning entities with a higher value for that field.

The following table summarizes the different strategies presented here, their version and diff functions, and some characteristics.

Strategies