handleCacheFile
- bool handleCacheFile(HTTPServerRequest req, HTTPServerResponse res, string file, string cache_control, Duration max_age)
- bool handleCacheFile(HTTPServerRequest req, HTTPServerResponse res, NativePath file, string cache_control, Duration max_age)
@safe
bool
handleCacheFile
- bool handleCacheFile(HTTPServerRequest req, HTTPServerResponse res, FileInfo dirent, string cache_control, Duration max_age)
index vibe http fileserver
classesenumsfunctionsstructs
Calls handleCache with prefilled etag and lastModified value based on a file.