Current time: 09-21-2020, 11:28 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
static resources not cached?
04-10-2013, 03:03 AM
Post: #6
RE: static resources not cached?
I boiled this down a little bit and thought maybe someone came across the same issue. My setting is a home grown http server running a rails application on a EC2 server. Before that server is a load balancer with Session-Stickiness enabled. To serve static files, CloudFront is used and configured to use the load balancer as orgin server.

Because of the session stickiness, the LB adds the ´Cache-Control: no-cache="set-cookie"´ to the response. The orgin server serves the files with the ´Cache-Control: max-age...´ header. According to the http 1.1 rfc, the headers are fine and must be read like one header with 3 values.

One the other hand, the CloudFront server is using http 1.0 and IE9 seems to ignore the first header. With IE10 this seems to be fixed.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: static resources not cached? - pmeenan - 03-27-2013, 12:00 AM
RE: static resources not cached? - Torsten Robitzki - 04-10-2013 03:03 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)