Stop Apache Caching Pages

Discussion in 'Apache' started by BrettS, Sep 18, 2008.

  1. #1
    Hi,

    Can someone tell me how to stop Apache from caching pages please?

    We are using Apache 2.2 with mod_jk to proxy Tomcat 5.5 all running on the same Ubuntu Linux server. For some reason, Apache is caching two pages against our wishes. If we enter the URL to Tomcat like so:
    http://196.1.1.161/app/page.html

    Then Tomcat will serve a fresh version of the page.

    However, if we enter the Apache URL like so:
    http://proxy/app/page.html

    Apache will always serve the same outdated version of the page.
    The weird thing is, this only happens with two pages, all other pages are fine. In case anyone is wondering, yes I have cleared the browser cache.

    Thank you.

    Regards Brett S
     
    BrettS, Sep 18, 2008 IP
  2. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    well it was because apache cache module which is available since version 2.2, you can disable the module :)
     
    nimhost, Sep 18, 2008 IP