Hacker News new | ask | show | jobs
by tfennelly 5137 days ago
That's a really nice idea. How does doing this on the server side effect performance? Maybe ye can cache the result.
1 comments

Yes. Good point. It's indeed quite expensive to do the graphic generation on the server.

We use a caching from Amazon CloudFront. They have a great feature 'custom origin'. We just put our heroku server URL as an origin for CloudFront and configured HTTP headers properly. After that we were able to significantly reduce the load on a server.

We also blogged about it: http://blog.elastic.io/post/22773181715