Jump to content

problems with deleting browser cache


s0c0

Recommended Posts

My app requires that the browser not cache the page.  This is because each time the user clicks a specific link an xml file is generated which contains some file links and metadata read by a flash application.  But the browser is caching the page and it's caching the flash app or something like that.  When the user re-generates the xml the content within the flash app is not refreshed.  Instead the user must manually clear browser cache.

 

Here is what I have implemented in an attempt to solve the problem:

 

/* prevent browser cache */
header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );

 

I've tried a number of variations with this, but it is still caching whats in the flash player.  The html tables are redrawn with fresh mysql table content, but thats it.  Was I clear?  I hope so!  I'd like to get this solved.  Thanks for reading.

 

I have full access to the system so if there is an apache2 directive or php5.ini parameter just let me know.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.