Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

add header Cache-Control

843833May 31 2004 — edited Jun 1 2004
hi

i need to add the header Cache-Control to all mi statics resource specially a couple of .swf files
i read that in SunOne 7 have a tab in http server

To use the Administration interface to set cache control directives:
In the left pane, for the application server instance, open HTTP Server.
Open Virtual Servers.
Click the name of the virtual server you want to edit.
Click the HTTP/HTML tab.
Click Cache Control Directives
Fill in the fields. Valid values for the response directives are as follows:
Public. The response is cachable by any cache. This is the default.
Private. The response is only cachable by a private (non-shared) cache.
No Cache. The response must not be cached anywhere.
No Store. The cache must not store the request or response anywhere in nonvolatile storage.
Must Revalidate. The cache entry must be revalidated from the originating server.
Maximum Age (sec). The client does not accept a response that has an age greater than this age.
Click OK.


but i don find it in SunOne 8
so if any one cant say me how can make it. i have been thankful

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2004
Added on May 31 2004
1 comment
296 views