Community Page
- blog.kovyrin.net Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- nice article! nice site. you're in my rss feed now ;-) keep it up
- nice article! nice site. you're in my rss feed now ;-) keep it up
- nice article! nice site. you're in my rss feed now ;-) keep it up
- Top post. Thank you very much. :-)
- Thanks for the info. May God have mercy on us all.
Jump to original thread »
Since the day one when I joined Scribd, I was thinking about the fact that 90+% of our traffic is going to the document view pages, which is a single action in our documents controller. I was wondering how could we improve this action responsiveness and make our users happier.
Few times I ... Continue reading »
Few times I ... Continue reading »
8 months ago
8 months ago
The only thing that bothers me is that on that box I have two cores and squid uses only one of them... but so far even on one core it was just awesome (squid 3.0! 2.X versions were just awful first two days when I was setting the stuff up).
8 months ago
My rails app supports 304 Not Modified for a lot of key url, some of those return binary images. I want to use a server side caching proxy to keep the content - but it's important that requests still make it to the rails app for statistic collection reasons.
The rails app will reply 304 which should let the caching proxy release it's content to the client. That's at least how I think this should work. Varnish is currently disagreeing with me no matter how I setup the Cache-Control
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
Just to share, instead of URL rewriting, the way we approached this problem was to use Squid's X-Accelerator-Vary feature. We make the load balancer inject headers (e.g. X-User-Type) and make the page return the appropriate X-Accelerator-Vary headers. Squid then selects an appropriate version of the page, matching the headers and cached copy's X-A-V fields.
8 months ago