Метод | Описание | |
---|---|---|
BeginPurgeUrlsFromProxyWithDelay ( IEnumerable |
Starts an async thread that will start purging urls after a specified delay. Delay is configured with PurgeUrlDelayInSeconds key in web.config.
|
|
EndResponseForClientCache ( System.DateTime lastModificationDate ) : void | ||
GetMaxAgeForExtension ( string extension ) : int? | ||
PurgeUrlFromProxy ( string url ) : string[] |
Sends a PURGE request to all of the configured proxy servers for the given url. Purge request is synchronous and result is processed.
|
|
PurgeUrlFromProxyAsync ( string url ) : void |
Sends a PURGE request to all of the configured proxy servers for the given url. Purge request is asynchronous and result is not processed.
|
|
PurgeUrlsFromProxy ( IEnumerable |
Sends a PURGE request to all of the configured proxy servers for the given urls. Purge requests are synchronous.
|
|
SetCacheControlHeaders ( int cacheForSeconds ) : void | ||
SetCacheControlHeaders ( int cacheForSeconds, HttpCacheability httpCacheability ) : void |
Метод | Описание | |
---|---|---|
IsClientCached ( System.DateTime contentModified ) : bool | ||
PurgeUrlFromProxy ( string url, bool async ) : string[] | ||
PurgeUrlsFromProxyAsyncWithDelay ( IEnumerable |
public static BeginPurgeUrlsFromProxyWithDelay ( IEnumerable |
||
urls | IEnumerable |
|
Результат | void |
public static EndResponseForClientCache ( System.DateTime lastModificationDate ) : void | ||
lastModificationDate | System.DateTime | |
Результат | void |
public static GetMaxAgeForExtension ( string extension ) : int? | ||
extension | string | |
Результат | int? |
public static PurgeUrlFromProxy ( string url ) : string[] | ||
url | string | Url of the content that needs to be purged. It must start with the host name (e.g. www.example.com/mycontent/myimage.jpg). |
Результат | string[] |
public static PurgeUrlFromProxyAsync ( string url ) : void | ||
url | string | Url of the content that needs to be purged. It must start with the host name (e.g. www.example.com/mycontent/myimage.jpg). |
Результат | void |
public static PurgeUrlsFromProxy ( IEnumerable |
||
urls | IEnumerable |
Urls of the content that needs to be purged. The urls must start with the host name (e.g. www.example.com/mycontent/myimage.jpg). |
Результат | string[]>.Dictionary |
public static SetCacheControlHeaders ( int cacheForSeconds ) : void | ||
cacheForSeconds | int | |
Результат | void |
public static SetCacheControlHeaders ( int cacheForSeconds, HttpCacheability httpCacheability ) : void | ||
cacheForSeconds | int | |
httpCacheability | HttpCacheability | |
Результат | void |