Bewerken

Delen via


CacheControlHeaderValue.Public Property

Definition

Whether an HTTP response may be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache.

public:
 property bool Public { bool get(); void set(bool value); };
public bool Public { get; set; }
member this.Public : bool with get, set
Public Property Public As Boolean

Property Value

true if the HTTP response may be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache; otherwise, false.

Remarks

This property represents the "public" directive in a cache-control header field on an HTTP response.

Applies to