Module cdn

Source
Expand description

CDN content cache implementation

This module caches all CDN content following the CDN path structure:

  • {cdn_path}/config/{first2}/{next2}/{hash} - Configuration files
  • {cdn_path}/data/{first2}/{next2}/{hash} - Data files and archives
  • {cdn_path}/patch/{first2}/{next2}/{hash} - Patch files

Where {cdn_path} is the path provided by the CDN (e.g., “tpr/wow”). Archives and indices are stored in the data directory with .index extension for indices.

Structs§

CdnCache
Cache for CDN content following the standard CDN directory structure