CacheControlHeaderValue.SharedMaxAge Propriedade

Definição

A duração máxima compartilhada, especificada em segundos, em uma resposta HTTP que substitui a diretiva "max-age" em um cabeçalho cache-control ou um cabeçalho Expires de um cache compartilhado.The shared maximum age, specified in seconds, in an HTTP response that overrides the "max-age" directive in a cache-control header or an Expires header for a shared cache.

public:
 property Nullable<TimeSpan> SharedMaxAge { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? SharedMaxAge { get; set; }
member this.SharedMaxAge : Nullable<TimeSpan> with get, set
Public Property SharedMaxAge As Nullable(Of TimeSpan)

Valor da propriedade

Nullable<TimeSpan>

O tempo em segundos.The time in seconds.

Comentários

Essa propriedade representa a diretiva "s-max-age" em um campo de cabeçalho Cache-Control em uma resposta HTTP.This property represents the "s-max-age" directive in a cache-control header field on an HTTP response.

Aplica-se a