Web Analytics Made Easy -
StatCounter Safari refreshes on back and forward button?? - CodingForum


No announcement yet.

Safari refreshes on back and forward button??

  • Filter
  • Time
  • Show
Clear All
new posts

  • Safari refreshes on back and forward button??

    I am building a website that has links that open in the same tab. When I hit the back button my webpage refreshes. I do not want it to refresh. One way around this would be to just open all links in another tab or window but I don't want to do that. Any suggestions??

    I tried meta content="cache".... that did not work
    This only seems to be happening in Safari's browser not Firefox or IE or Opera

  • #2
    Huh? Can you give us a link?
    Blog | Twitter
    Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
    CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
    Remember: no link, no code, no help!


    • #3
      Never faced this problem. It always seemed to me that browser does not refresh the page on back and forward button click. Only happens when there are redirect code, or any other type of code that makes browser refresh the page.
      Validate CSS
      Try it
      Learn CSS


      • #4
        It refreshes when it isn't allowed to cache the page (as indicated by the HTTP headers, not any meta element).
        Geoffrey Sneddon