Skip to main content

PdfPageCacheStatsDto

Statistics about the on-disk rendered-page cache.

This is the cache that stores already-rendered JPEG images of PDF pages. Backed by PdfPageCache in the service layer.

bookCountinteger<int64>required

Number of unique books with cached pages

Possible values: >= 0

Example: 45
cacheDirstringrequired

Path to the cache directory

Example: /data/cache
cacheEnabledbooleanrequired

Whether the PDF page cache is enabled

Example: true
oldestFileAgeDaysinteger,null<int32>nullable

Age of the oldest cached file in days (if any files exist)

Possible values: >= 0

Example: 15
totalFilesinteger<int64>required

Total number of cached page files

Possible values: >= 0

Example: 1500
totalSizeBytesinteger<int64>required

Total size of cache in bytes

Possible values: >= 0

Example: 157286400
totalSizeHumanstringrequired

Human-readable total size (e.g., "150.0 MB")

Example: 150.0 MB
PdfPageCacheStatsDto
{
"bookCount": 45,
"cacheDir": "/data/cache",
"cacheEnabled": true,
"oldestFileAgeDays": 15,
"totalFiles": 1500,
"totalSizeBytes": 157286400,
"totalSizeHuman": "150.0 MB"
}