handling cache of the website

Discussion in 'PHP' started by hansab, Jan 3, 2011.

  1. #1
    I have recently shifted my website to linux from windows. The site works fine but it loads the old page and i have to press f5 to refresh and see the updated version of the page.

    So is it php/.htaccess or its cpanel or its wordpress ? What is the actual problem and how can i solve it.

    Thanks
     
    hansab, Jan 3, 2011 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    Clear browser cache?
     
    danx10, Jan 3, 2011 IP
  3. hansab

    hansab Active Member

    Messages:
    162
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #3
    No actually its not browser cache. It has something to do it .htaccess i think but i dont know.

    In windows hosting, when i visited my site eg www.example.com so the site will open the latest posts or images etc. But since i shifted to linux. The site first suddenly shows the old posts images and not the updated one. I have to press refresh to see the updated page.
     
    hansab, Jan 3, 2011 IP
  4. Moustafa.Elkady

    Moustafa.Elkady Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    No no
    its from you internet or the dns cache
     
    Moustafa.Elkady, Jan 4, 2011 IP