Page refresh

Discussion in 'HTML & Website Design' started by karlos1001, Dec 19, 2009.

  1. #1
    Not sure if that is the right title to use...

    When I ftp up my changes to my latest blog, then go check it on the web, to see the changes I have to clear all my internet caches and files etc... Obviously all my viewers aren't going to do that each time they view my blog.

    How do I get my viewers to see my latest changes!!

    In Christ, Karl.
     
    karlos1001, Dec 19, 2009 IP
  2. Lex350

    Lex350 Notable Member

    Messages:
    1,889
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    215
    #2
    I think you set it in the htaccess.
    <FilesMatch "\.(html|htm)$">
    Header set Cache-Control "max-age=7200, must-revalidate"

    First set the type of file then set the lenth to cache. I think "must-revalidate means if the page has changed then it will check for updates.
    There alot about this on the web, look around.
    Good Luck.
     
    Lex350, Dec 19, 2009 IP
  3. karlos1001

    karlos1001 Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the heads-up Lex350.
    I'll have Google that...I've got allot to learn for sure! :)

    Thanks again.
    In Christ Jesus, Karl.
     
    karlos1001, Dec 19, 2009 IP