CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-hishel

Persistent cache implementation for httpx and httpcore following RFC 9111 specification

74

1.48x
Overview
Eval results
Files

Evaluation results

15%

15%

HTTP Cache Validator Implementation

ETag and Last-Modified validators

Criteria
Without context
With context

Hishel Client Usage

0%

20%

Storage Backend

0%

60%

Proper Client Setup

0%

26%

ETag Handling

0%

0%

Last-Modified Handling

0%

0%

304 Response Handling

0%

0%

100%

HTTP Client with Persistent Caching

Requests library integration via adapter

Criteria
Without context
With context

CacheAdapter usage

100%

100%

SQLite storage configuration

100%

100%

Adapter mounting

100%

100%

Storage injection

100%

100%

Metadata access

100%

100%

74%

10%

HTTP Response Cache Filter

Conditional header filtering (no-cache and private field names)

Criteria
Without context
With context

Cache-Control parsing

66%

86%

Field name extraction

60%

90%

Header filtering logic

88%

80%

Headers data structure

0%

0%

Combined directives handling

100%

100%

100%

34%

Cache Entry Cleanup System

Soft and hard deletion with grace period

Criteria
Without context
With context

Storage Backend Usage

0%

100%

Soft Deletion Implementation

40%

100%

Grace Period Logic

100%

100%

Batch Processing

100%

100%

TTL Handling

100%

100%

Cleanup Verification

60%

100%

70%

70%

HTTP Cache State Tracker

State machine with 8 states (IdleClient, CacheMiss, FromCache, etc.)

Criteria
Without context
With context

Caching Client Usage

0%

0%

Cache Hit Detection

0%

100%

Cache Miss Detection

0%

100%

Revalidation Detection

0%

100%

Store Detection

0%

100%

Storage Configuration

0%

0%

32%

-48%

HTTP Cache Revalidation Tool

Request no-cache directive forcing revalidation

Criteria
Without context
With context

Hishel client usage

80%

0%

Storage backend configuration

0%

0%

No-cache header injection

100%

100%

Cache metadata inspection

100%

0%

Revalidation verification

100%

80%

51%

-10%

HTTP Cache with Time-to-Live Management

Storage TTL management (fixed and sliding expiration)

Criteria
Without context
With context

Storage backend usage

20%

0%

Default TTL configuration

100%

100%

Per-entry TTL override

25%

40%

Fixed expiration implementation

86%

100%

Sliding expiration implementation

86%

86%

Expiration checking

100%

0%

100%

75%

HTTP Cache Proxy with Stale Response Handling

Allowed stale checking with directive prohibitions

Criteria
Without context
With context

CacheOptions usage

0%

100%

Storage backend

0%

100%

Cache client integration

0%

100%

allow_stale configuration

33%

100%

Directive prohibition handling

75%

100%

Shared cache mode

50%

100%

Response metadata inspection

0%

100%

100%

HTTP API Cache Manager

CacheOptions configuration (shared/private, methods, stale)

Criteria
Without context
With context

Import CacheOptions

100%

100%

Shared cache configuration

100%

100%

Private cache configuration

100%

100%

Default methods restriction

100%

100%

POST method inclusion

100%

100%

Search cache POST support

100%

100%

Stale content prevention

100%

100%

Allow stale configuration

100%

100%

Cache object integration

100%

100%

100%

100%

HTTP Cache Validator

Conditional request generation (If-None-Match, If-Modified-Since)

Criteria
Without context
With context

Storage backend usage

0%

100%

Cache entry creation

0%

100%

Conditional header injection

0%

100%

ETag prioritization

0%

100%

304 response handling

0%

100%

Cache entry updates

0%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-hishel
Evaluated
Agent
Codex

Table of Contents