| VoiceXML 2.1 Development Guide | Home | Frameset Home |
|



HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Cache-Control: no-cache
Expires: Fri, 07 Dec 2001 23:34:20 GMT
Connection: close
Date: Fri, 07 Dec 2001 23:34:20 GMT
Content-Type: text/xml
Accept-Ranges: bytes
Last-Modified: Fri, 07 Dec 2001 20:04:41 GMT
ETag: "9cd56754d837c11:96b"
Content-Length: 632

-enable-module=expires and -enable-module=headers arguments to configure (1.3 or greater). Consult the INSTALL file found with the Apache distribution.
### activate mod_expires
ExpiresActive On
### Expire .gif's 1 month from when they're accessed
ExpiresByType image/gif A2592000
### Expire everything else 1 day from when it's last modified
### (this uses the Alternative syntax)
ExpiresDefault "modification plus 1 day"
### Apply a Cache-Control header to index.html
<Files index.html>
Header append Cache-Control "public, must-revalidate"
</Files>
<filter>
<filter-name>ResponseHeaderFilter</filter-name>
<filter-class>
org.jspwebstuff.ResponseHeaderFilter
</filter-class>
<init-param>
<param-name>Cache-Control</param-name>
<param-value>max-age=0</param-value>
</init-param>
<init-param>
<param-name>Expires</param-name>
<param-value>Expires: Fri, 30 Oct 1998 14:19:41 GMT</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ResponseHeaderFilter</filter-name>
<url-pattern>*.gsl</url-pattern>
</filter-mapping>
<% response.expires = -1
response.CacheControl = "no-cache"
%><? xml version="1.0" ?>
<?php
header('Cache-Control: no-cache');
print('<?xml version="1.0" encoding="UTF-8" ?>');
?>
<cfheader name="Cache-Control" value= "no-cache">
<cfheader name="Expires" value="#Now()#"><? xml version="1.0" ?>
| ANNOTATIONS: EXISTING POSTS |
| login |
|