httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Owens <>
Subject Re: [users@httpd] (solved) help with XML refresh and cache control
Date Wed, 25 Jul 2007 13:07:21 GMT
Thanks, Joshua, for the tip. What worked in the end was:

<Files specific.xsl>
Header set Cache-Control no-cache

Note that this references the XSLT file, not the script. Also for some 
reason this didn't seem to work until I put the <Files> section after 
the <Directory> section for cgi-bin.

Joshua Slive wrote:
> On 7/24/07, Jim Owens <> wrote:
>> I'm using Apache on an intranet to serve an XML database. Users can
>> modify what they see by selecting radio buttons on an HTML form. The
>> form sends off a CGI GET request with different parameters, based on the
>> buttons selected -- for example, generic_xsl.rex?product=A&revision=B.
>> The script generates a customized XSLT file called "specific.xsl" and
>> then sends the XML file with an xsl:stylesheet header invoking 
>> specific.xsl.
>> On some browsers, successive different requests don't change the
>> display. The user has to hit Refresh to see the updated XSLT output.

> . . .

> The header directive can be scoped inside
> <Directory>/<Location>/<Files> sections. So for example,
> <Files generic_xsl.rex>
> Header set ...
> </Files>
> You could also try different cache-control directives like
> must-revalidate to see if the effect was better.
> Joshua.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message