Hello,
I'm dealing with a problem on my website.
A few persons said I have to disable the cache function in php header.
But I have no idea how to do that.. :rolleyes:
Can anyone help me with this please? 😃

Thanks alot!

    what problem are you having?

    to disable cache visit http://uk3.php.net/header and example 2

    or to stop each page using meta use...

    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

      I've made a website where you can listen to Dutch radio channels.
      But on some computers it don't switches to another channel when clicked on another radiochannel-image.
      The images are linked to pages with a media player code + stream url on it.

      I tried to put this code:

      <?php
      // Date in the past
      header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
      header("Cache-Control: no-cache");
      header("Pragma: no-cache");
      ?>

      above all pages but still no changes 🙁

        13 days later

        Can anyone please help me with this issue?
        It's very important..

          put this in your htaccess

          ExpiresActive on
          ExpiresDefault "access plus 0 seconds"

            I doesn't seems to be any difference.

              4 years later

              is it possible for this thread to be deleted? thanks alot

                Write a Reply...