why do some pages not load from cache?

Discussion in 'Web Design & Coding' started by Perris Calderon, Mar 5, 2006.

  1. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    check for newer pages being set to "automaticlly, why is it some pages load from cache on the back button and some have to get the information again?

    is there something in a url that will tell the browser to always get content anew ?
     
    Last edited: Mar 5, 2006
  2. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    The browser may not think there is a newer version available.

    Force refresh: CTRL+F5
     
  3. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    I don't want refresh, when I use the back button I want the page loaded from cache, if I want new content I can refresh

    some pages load anew even when there is no new content, I know I can set the browser to never get a new page, but I'm wondering why some do and some don't
     
  4. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    I misunderstood. I would assume it depends whether the page is dynamic.
     
  5. yalooze

    yalooze OSNN Addict

    Messages:
    100
    Location:
    Adelaide, Australia
    I assume you're using Internet Explorer?

    Probably not the answer you're looking for but Opera has a great caching system. By default whenever you press the back button it grabs the page straight from the cache which makes surfing feel a whole lot faster.

    I really don't see the point of re-downloading a page when you've just been on it and this is one of the features that I really love about Opera.

    Unsure what Firefox is like in this regard, perhaps someone that uses it regularly could give you more information.
     
  6. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    ya, I still use ie...I've tried my best to migrate to another browser but for me is is I still the way to go..however whenever I clean a customers box I make sure they use firefox from that point forward, so let's not get into a "which browser is better" debate

    I have opera, don't care for it much at all, I like firefox better, I will be probably migrating to firefox soon enough, I'm holidng out for the finnished version if ie7 before I decide...if it has everything I need when it's done, I won't be loading a seperate browser if I can avoid doing it

    anyway, is this "always get new" something in the way the url or page is written?
     
    Last edited: Mar 5, 2006
  7. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    The way the page is coded.
     
  8. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    what is it they put in that shouldn't be put in?
     
  9. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    Bad coding...
     
  10. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    aha, the bad coding thing.

    tell me what "this site is doing wrong, I will contact them and get them to do it right
     
  11. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    Sorry, I just woke up. I thought you said the back button was not working.

    After reading it, I see that you're problem is that IE reloads pages by pressing the back button. That happens in Firefox too, and I don't know why it happens.
     
  12. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    I think it's something in the way the page is written, like there's always new content or something

    what tells the browser there is new content and to refresh the page when the get new page in tools is set to automatic?
     
  13. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    That site pulls in data through feeds.
     
  14. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    our porthole pulls in data from feeds doesn't it?

    the back button seems bring up that from cache
     
  15. madmatt

    madmatt Bow Down to the King Political User

    Messages:
    13,312
    Location:
    New York
    This site pulls data in from mySQL databases. That site pulls data in from several different news organization's feed.
     
  16. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    some pages force browsers and proxy caches not to cache them, mostly dynamic pages or regularly updated static pages.

    It was never up to the end user what got cached and what didnt. It never should be.
     
  17. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    That site Perris is doing absolutely nothing wrong, they want you to reload their pages, that way you can retrieve new content since you last visited, also, since they have content that changes very often, there is a need for you to get the new page, so you don't view old pages.