Object - http : RequestCacheControl

Configures the cache control directives for an http:Request.

Methods

Builds the cache control directives string from the current http:RequestCacheControl configurations.

Fields

  • noCache boolean (default false)
  • Sets the no-cache directive

  • noStore boolean (default false)
  • Sets the no-store directive

  • noTransform boolean (default false)
  • Sets the no-transform directive

  • onlyIfCached boolean (default false)
  • Sets the only-if-cached directive

  • maxAge int (default -1)
  • Sets the max-age directive

  • maxStale int (default -1)
  • Sets the max-stale directive

  • minFresh int (default -1)
  • Sets the min-fresh directive

buildCacheControlDirectives

()

returns string

Builds the cache control directives string from the current http:RequestCacheControl configurations.

  • Return Type

    (string)
  • The cache control directives string to be used in the cache-control header