# SimonCropp/Delta

An approach to implementing a 304 Not Modified leveraging DB change tracking

Repository: https://github.com/SimonCropp/Delta
Canonical: https://ross.abutalabs.com/products/simoncropp-delta
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-25T12:44:22+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 42, longevity 98
- inputs: {"age_days": 1373, "days_push": 8, "days_rel": 174, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1518, forks 37 (observed 2026-08-28T04:04:57.405213+00:00)

## What it is
A .NET library that implements HTTP 304 Not Modified responses by leveraging database change tracking to generate ETags from last-updated timestamps. It supports SQL Server and PostgreSQL, both directly and via Entity Framework Core, reducing server load for read-heavy workloads.

## Use cases
- implement 304 Not Modified responses in ASP.NET Core
- generate ETags from database change tracking
- reduce server load for read-heavy APIs
- enable browser caching of dynamic content
- add HTTP caching backed by SQL Server or PostgreSQL
- integrate ETag handling with Entity Framework Core

## When to choose
- your data updates infrequently relative to reads
- you want browser caching for dynamic content without manual ETag logic
- you use SQL Server or PostgreSQL with or without EF Core in a .NET app

## When to avoid
- your data changes very frequently, making 304 responses rare
- you need per-entity or per-resource granular caching rather than a global last-updated timestamp
- you are not on the .NET stack

## Facets
- artifact type: library
- maturity: active
- function: caching, http-server, middleware, database
- domain: web-development, backend, databases, performance
- platform: dotnet
- tags: http-caching, etag, 304-not-modified, change-tracking, sql-server, postgresql, entity-framework, aspnet-core, web-server

## Member repositories
- SimonCropp/Delta (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:57.405213+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:00.245089+00:00, confidence not recorded.
  - readme: https://github.com/SimonCropp/Delta (fetched 2026-08-28T04:04:57.405213+00:00, sha 7238d584d944)
- Data as of 2026-08-30T08:39:29.467469+00:00.
