All pastes #947718 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-18 17:45 UTC
rendered paste body
[18:37:42] <Rasmus> madbomber: you really should add Expires headers to all your static files
[18:37:43] <madbomber> i bet i broke it
[18:38:02] <madbomber> rasmus, they should be set... if they aren't someone broke the apache config
[18:38:07] <CPUnerd_> http://a.pca3.cherrytap.com/38/88/88883/tn_3133598748.jpg
[18:38:12] <madbomber> cpu, ya those are image urls
[18:38:14] <CPUnerd_> http://a.pcb2.cherrytap.com/07/58/18570/tn_1050345256.jpg
[18:38:16] <CPUnerd_> yep
[18:38:19] <madbomber> weak sauce.. i suck
[18:38:28] <madbomber> no wonder image traffic was a bit low today. bahaha
[18:38:39] <Rasmus> You should also turn of Etags if you are behind a load balancer
[18:38:53] <Rasmus> Etags are dumb
[18:39:26] <Rasmus> Every time the LB bounces someone from one machine to another, their caches are blown
[18:39:39] <lsmith> http://developer.yahoo.com/performance/rules.html
[18:40:00] <CPUnerd_> :))
[18:40:07] <Rasmus> Yes, read #13
[18:40:11] <madbomber> rasmus, that's not the behaviour i'm seeing.. atleast in firefox/ie
[18:40:14] <CPUnerd_> lsmith: how much did you get for this ? :)
[18:40:28] <madbomber> the online bar has it's own expires set, and it's not getting blown away each time
[18:40:35] <Rasmus> madbomber: well, you aren't looking in the right place then
[18:40:37] <madbomber> but ya etags should be turned off
[18:40:41] <Rasmus> ETags are machine-specific
[18:41:34] <CPUnerd_> madbomber: you have a typo when sending out the headers too
[18:41:35] <lsmith> and here is another one: http://www.youtube.com/watch?v=BTHvs3V8DBA
[18:41:36] <CPUnerd_> Cneonction: close
[18:41:41] <Rasmus> http://fubar.com/imgs/on_tap.gif
[18:41:46] <Rasmus> that has no Expires and an ETag
[18:41:54] <madbomber> cpu, i believe that's an apache typo
[18:42:01] <CPUnerd_> hmm
[18:42:07] <madbomber> (legacy)
[18:42:08] <madbomber> or something
[18:42:46] → mapi joined the channel.
[18:42:52] <Rasmus> oh wait, it does have a short expiry
[18:43:15] <Rasmus> but yes, nnCoection: close
[18:43:18] <Rasmus> wtf is that?
[18:43:36] <Rasmus> Your web server is dyslexic
[18:43:56] <CPUnerd_> Rasmus: Thanks
[18:43:57] <CPUnerd_> :)
[18:43:58] <lsmith> well maybe his users browsers are dyslexic too
[18:44:14] <CPUnerd_> lsmith: mine and Rasmus's
[18:44:23] <madbomber> err, actually i think that's a typo in the load balancer code (netscaler/citrix)
[18:44:28] <madbomber> heh
[18:44:29] <CPUnerd_> possible
[18:44:33] <madbomber> it's not us spitting it out
[18:44:57] <Rasmus> I suggest running yslow on your stuff
[18:45:01] <Rasmus> it will pick out all these
[18:45:12] <madbomber> yslow? hmm i need to google that. not familiar with it
[18:45:38] <CPUnerd_> firefox madbomber firefox :)