poleposters Posted April 17, 2008 Share Posted April 17, 2008 Hi, I'm working on a business directory. My users can upload slides to create a slideshow in an SWF file. However if they upload new slides, the slideshow will not show the changes because the browser instead uses the cached images. Is there a way to work around this?? Link to comment https://forums.phpfreaks.com/topic/101523-can-i-use-php-to-stop-browser-cache/ Share on other sites More sharing options...
miracle_potential Posted April 17, 2008 Share Posted April 17, 2008 I'm pretty sure its a meta tag that stops caching of images. try adding this into your header <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="expires" content="0"> All it does it stops the browser caching and sets the expire time to 0 so nothings cached. Link to comment https://forums.phpfreaks.com/topic/101523-can-i-use-php-to-stop-browser-cache/#findComment-519309 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.