Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: IE-cache, text file
From: John Croteau
Date: Sat, 3 Jul 1999 10:01:32 +0100

Hi all,

To prevent caching by sending an HTTP Header from the server, there
seems to be two different techniques depending on the server software.
In IIS 4.0 you can easily set the headers
by file or directory, but in Apache you cn designate a file extension
for this purpose and have a server wide solution.

----------------------------------------------------------------------------

In Microsoft IIS 4.0 you can easily send "Content to expire immediately"
in the HTTP Headers. If you don't have access to the server create a
special directory and ask the administrator to set a special HTTP Header
for that directory.

To set server side HTTP Header 'Content Expiration' for a file or
directory in Microsoft IIS 4.0:

1) Go to Micrrosoft Management Console
2) Select the directory or file under the appropriate HTML Web server,
right click and select Properties.
3) Select HTTP Headers Tab
4) Check the box Enable Content Expiration
5) Select either Expires immediately or Expires on with an old date.
6) Select OK

************************************************************************

In Apache or similar server you might want to designate (or create) a
new text/plain file extension (such as txxt), set the MIME for it and
then set the http.conf file with something like this:

<Files "*txxt">
Header append Pragma "no-cache"
Header set Cache-Control "no-cache"
</Files>

This would make files such as money.txxt act like any other plain text
file but would prevent them from being cached.

*************************************************************************

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: IE-cache, text file, Laura Mollett

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]