Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Website page refresh

Discussion in 'General Discussion' started by abdock, Aug 30, 2005.

  1. abdock

    abdock Member

    Joined:
    Feb 9, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    Where can i set refresh time for the website ?

    AS at times when people make chages takes ages for the old page to expire.

    Thanks.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    You could try and do this per document by setting the http-equiv expires meta tag, however this could be a tedious process if the pages aren't server generated (i.e. static HTML as opposed to being the output of PHP, Perl etc).

    However a great deal depends on whether the user's browser pays attention to such things and how cache-dependent the browser is, not to mention web proxies along the way. The only reliable method I've ever encountered is to force a refresh in the browser, which can generally be accomplished in most modern Windows-based browsers by pressing CTRL-F5.

    References:
    http://www.html-reference.com/META_httpequiv_expires.htm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    The most likely cause is either as webignition suggests (i.e. your local browser cache) or your ISP uses a (transparent) proxy and is caching the pages. There's not much you can do about the latter. What it won't have anything to do with is your web server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice