eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTTPResponseHeader::CacheControl':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: CacheControl (private in HTTPResponseHeader

This class is only visible from within HTTPResponseHeader.

Inheritance:

   Object
   |
   +--HTTPResponseHeader::CacheControl

Package:
stx:goodies/webServer
Category:
Net-Communication-HTTP-Server
Owner:
HTTPResponseHeader

Description:


cache-request-directive =
      no-cache
      no-store
      max-age = delta-seconds
      max-stale [ = delta-seconds ]
      min-fresh = delta-seconds
      no-transform
      only-if-cached
      cache-extension                   
cache-response-directive
      public                               
      private [ = <'> 1#field-name <'> ] 
      no-cache [ = <'> 1#field-name <'> ]
      no-store                             
      no-transform
      must-revalidate
      proxy-revalidate
      max-age = delta-seconds           
      s-maxage = delta-seconds          
      cache-extension


Class protocol:

constants
o  documentation
cache-request-directive =
no-cache
no-store
max-age = delta-seconds
max-stale [ = delta-seconds ]
min-fresh = delta-seconds
no-transform
only-if-cached
cache-extension
cache-response-directive
public
private [ = <'> 1#field-name <'> ]
no-cache [ = <'> 1#field-name <'> ]
no-store
no-transform
must-revalidate
proxy-revalidate
max-age = delta-seconds
s-maxage = delta-seconds
cache-extension


Instance protocol:

accessing
o  cacheDirective

o  cacheDirective: something

o  maxAge

o  maxAge: aSecondsIntegerOrTimeDuration

o  mustRevalidate

o  mustRevalidate: aBoolean

o  proxyRevalidate

o  proxyRevalidate: aBoolean

o  sMaxAge

o  sMaxAge: anInteger

o  setNoCache
set the no-cache flag.
The file will not be cached by the client or intermediate caches.
Be careful: IE6 denies opening of attachments, if either no-cache or no-store is set

o  setPrivate

o  setPublic

o  store

o  store: aBoolean
set the no-store flag.
The file will not be stored by the client or intermediate caches.
Be careful: IE6 denies opening of attachments, if either no-cache or no-store is set

o  transform

o  transform: aBoolean

printing
o  printOn: aStream
print a cache-control header.
cacheDirective takes precedence over field values



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:25:51 GMT