Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Proxy cache

Proxy cache

Scheduled Pinned Locked Moved The Lounge
helpjavascriptquestionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Richard Jones
    wrote on last edited by
    #1

    Just thought I'd share my experience. Last night I had to stay 2 hours late with a vendor to fix a bug with their web app. It is hosted on their site. The outside world could see the page correctly, but our organization had problems seeing it. The page would alternately fail to load, then work ok on each refresh. They had done an upgrade to the files (1.1) earlier in the day, then rolled back to the old version (1.0). We finally determined the .js files coming over were switching back and forth between the old (1.1) and new (1.0) version on our end, whereas the world always saw the current (1.0) version. Even after a "touch" command to the files involved, the proxy still kept the files in cache like a pitbull. He created a new folder with a copy of the site, and we pointed to that, and it worked fine (no cache to get confused on). This morning it's no longer confused, so it appears to have released the 1.1 files.

    Cheetah. Ferret. Gonads. What more can I say? - Pete O'Hanlon

    L 1 Reply Last reply
    0
    • R Richard Jones

      Just thought I'd share my experience. Last night I had to stay 2 hours late with a vendor to fix a bug with their web app. It is hosted on their site. The outside world could see the page correctly, but our organization had problems seeing it. The page would alternately fail to load, then work ok on each refresh. They had done an upgrade to the files (1.1) earlier in the day, then rolled back to the old version (1.0). We finally determined the .js files coming over were switching back and forth between the old (1.1) and new (1.0) version on our end, whereas the world always saw the current (1.0) version. Even after a "touch" command to the files involved, the proxy still kept the files in cache like a pitbull. He created a new folder with a copy of the site, and we pointed to that, and it worked fine (no cache to get confused on). This morning it's no longer confused, so it appears to have released the 1.1 files.

      Cheetah. Ferret. Gonads. What more can I say? - Pete O'Hanlon

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Section 14.9 Cache-Control[^] describes how to prevent proxy/browser caching of web pages and/or files. Squid and most other caching servers honor this HTTP header although it can be configured to ignore it. Best Wishes, -David Delaune

      Z 1 Reply Last reply
      0
      • L Lost User

        Section 14.9 Cache-Control[^] describes how to prevent proxy/browser caching of web pages and/or files. Squid and most other caching servers honor this HTTP header although it can be configured to ignore it. Best Wishes, -David Delaune

        Z Offline
        Z Offline
        ZelionThunder
        wrote on last edited by
        #3

        You should email me so I have your email address and can stop trying to get ahold of you on here!

        L 1 Reply Last reply
        0
        • Z ZelionThunder

          You should email me so I have your email address and can stop trying to get ahold of you on here!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Whoops, I guess that I forgot to send you my contact information the other day. I'll send you an e-mail this afternoon and we can continue discussions there. Best Wishes, -David Delaune

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups