in reply to Web Page Caching

You might want to take a look at these links:
1 and 2. These have to do with setting html meta tags to control caching behavior. I think that is probably what you want....

Sean

Replies are listed 'Best First'.
Re^2: Web Page Caching
by thekestrel (Friar) on Jun 30, 2005 at 15:28 UTC
    srdst13,
    Thanks for the links, I applied the tags as follows at the top and bottom of the page and all is well, no more caching. =)
    <HEAD> <META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\"> <META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\"> <META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\"> </HEAD>


    Regards Paul
Re^2: Web Page Caching
by thekestrel (Friar) on Jul 05, 2005 at 17:24 UTC
    Hi Sean
    An extension of the question I asked I hope you might be able to answer. I have the no-caching working with html pages which works good, but am having trouble with images.
    All of my 'nodes' come from a database and they have types, if its a text type node its displayed and the appropriate no-caching tags added as per previous advice from the other posts. If however the node is an image I set the content to 'image/jpeg' or whatever it is and then dump the data. The picture comes through fine, however this prevents me from using the cache tags? This means that if a user logs in from a browser and looks at page xyz which is an image and they have privs to do so they can, and after they log out if someone else looks at the image (without have closed the browser) it is still viewable (unless they shift-refresh). Do you no a way around this?
    Is it possible to send something like...
    Content type: html/text ... HTML here (turn off caching etc) ... Content type: image/jpeg ... image data ... Content type: html/text ... more HTML here ...
    Can you do this from one .....send..? is there a dynamic image content type I can use, so it will always re-request the content?

    Regards Paul