Image Resizer : API Documentation

Type ICache

Namespace ImageResizer.Caching

Provides caching behavior

Methods

Public instance methods

bool CanProcess(HttpContext current, IResponseArgs e)

Returns false if the cache is unable to process the request. If false, the caller should fall back to a different cache

void Process(HttpContext current, IResponseArgs e)

Must update the cache if needed, then either rewrite, redirect or serve the cached data.