Results 1 to 10 of 10

Thread: no cache
      
   

  1. #1
    bluerovers is offline Sergeant Major
    Join Date
    Aug 2007
    Posts
    98

    Default no cache

    hi

    i received an rather helpfull e-mail detail how to prevent your browser storing your web pages in its cache

    it said insert the following text, between the header

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

    i have done this and yet when i view page source i cant see it, should i have saved my web page as .php instead of .html?

    bluerovers.co.nz
    www.bluerovers.co.nz
    http://summerleague.bluerovers.co.nz

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: no cache

    It can be any extension that is read as a hyper text document. (Which includes html). Try hitting f5 a couple times. Even though you just added the code for the browser for not cache, it may have still been cached from before you updated it.

    Also try doing a search in the source (hit ctrl + f) and type in something like <META in the search

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    bluerovers is offline Sergeant Major
    Join Date
    Aug 2007
    Posts
    98

    Default Re: no cache

    hi

    thank-you for that tip, have refreshed my page and it appears now, i have also added;

    <meta http-equiv="cache-control" content="no-store">

    as well as

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


    will this make a difference or is it just a waste of code?

    bluerovers
    www.bluerovers.co.nz
    http://summerleague.bluerovers.co.nz

  4. #4
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default Re: no cache

    Hi blue... From my experience the no cache tag works...Doug

  5. #5
    ifti75 is offline Staff Sergeant
    Join Date
    Sep 2007
    Posts
    45

    Default Re: no cache

    HI Dear,
    My explorer is too much cache , i tried every thing, please advise me some thing else.
    thanx
    ifti

  6. #6
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: no cache

    ifti75-
    Download this program and install and then run. It will clean your cached files.
    http://www.stevengould.org/index.php...d=15&Itemid=69

    Then do a maintenance run about every week.

    Andy
    PHP- is a blast!

  7. #7
    dankc908 is offline Second Lieutenant
    Join Date
    Dec 2007
    Posts
    131

    Question Re: no cache

    Quote Originally Posted by bluerovers View Post
    hi

    i received an rather helpfull e-mail detail how to prevent your browser storing your web pages in its cache

    it said insert the following text, between the header

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

    i have done this and yet when i view page source i cant see it, should i have saved my web page as .php instead of .html?

    bluerovers.co.nz
    www.bluerovers.co.nz
    http://summerleague.bluerovers.co.nz
    I, too, am using this text "Between Head Tag" on my landing/index page. Should I use it on ALL pages in my website?

    Thanks in advance,
    Dan

    "'Tis better to be silent and thought a fool than to open one's mouth and remove all doubt." (A. Lincoln)

    http://www.dpcCrazyCrafts.com

  8. #8
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: no cache

    Quote Originally Posted by dankc908 View Post
    I, too, am using this text "Between Head Tag" on my landing/index page. Should I use it on ALL pages in my website?

    Thanks in advance,
    Hi, yes! it has to go on all pages. Would only recommend using it on pages that are being regally updated, like news & results pages, & these should be in preference fast loading pages that are mainly text. Not really recommended for image gallery's or similar areas of a site. If an image area of the site is a bit slow loading, it will be slow every time for a visitor as it wont be cached.

  9. #9
    koolspaces.com is offline Second Lieutenant
    Join Date
    Jul 2007
    Posts
    136

    Default Re: no cache

    I have added the following code to "Between Head Tag"
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    and I am still seeing my old version of a web page.

    What's going on?


    http://www.koolspaces.com
    The Best Funny Videos on myspace.com and more!


  10. #10
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default Re: no cache

    Hi koolspaces... Takes a while for that old cached to go away... usually at the next sweep by google ... Doug

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49