How to force no cache for a web site on linux/unix servers at JH

Discussion in 'General Web Coding' started by gsaunders, Jun 15, 2007.

  1. gsaunders

    gsaunders Perch

    I have a page I need to make sure is never cached, but always pulled... what do I need to place in either the HTML or perhaps the .htaccess to ensure it is never cached?

  2. KCWebMonkey

    KCWebMonkey Perch

    <meta Http-equiv="cache-control" Content="no-cache">
  3. gsaunders

    gsaunders Perch

    I have read this does not always work. I read that if the caching is controlled via the http headers then it will always work. I know this can be done via php, but if the page is not php, but html how can the http headers be altered? I thought perhaps via the .htaccess file?

  4. tanmaya

    tanmaya APAC Operations Staff Member

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services