[This is preliminary documentation and is subject to change.]

Disables response caching by setting the Cache-Control header to "no-cache& no-store".

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static void DisableCache(

this IResponse response

)

VB

Public Shared Sub DisableCache( _

response As IResponse _

)

C++

public:

static void DisableCache(

IResponse^ response

)

Parameters

See Also

ResponseExtensionsResponseExtensionsResponseExtensions Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace