Optimize Posterous CSS 'Great Question' to Sachin Agarwal Aug 2010--'Might be time for an answer'--Feb 2011
posterous-dev@googlegroups.com
Sachin Agarwal | ||
| ||
Location: | San Francisco, CA | |
Title: | Cofounder and CEO, Posterous.com | |
Industry: | Technology | |
Email address: | sagar...@gmail.com | |
Website or Blog: | ||
About me: | I am one of the founders of Posterous.com | |
Average Rating: | (3 ratings) |
Recent Activity: |
|
making posterous a great tool | Posterous development | Jan 4 2010 |
Message from discussion Optimize Posterous' HTML and Assets :)
Mon, 02 Aug 2010 22:33:54 -0700 (PDT) X-BeenThere: posterous-dev@googlegroups.com
From: viatropos To: Posterous development
A few friendly suggestions... I'm working on a rich posterous theme and the development experience could be better. First, the added javascripts and stylesheets could definitely be optimized. A quick look in Google Chrome and I see these: - http://javascripts.posterous.com/javascripts/bundles/main.js (258kb) - http://javascripts.posterous.com/javascripts/bundles/posts.js (90.5kb) - http://javascripts.posterous.com/javascripts/bundles/tagging.js (?) - http://javascripts.posterous.com/stylesheets/bundles/post.css (30kb) - http://connect.facebook.net/en_US/all.js (83kb) They look like they're gzipped but they could also be minimized and put into one file. Right now it's hovering around 400kb, which is huge. Add that on top of a theme and the site takes a while to load. 400kb is larger than the Flex Framework. Second, it would be nice if you could extract the inline javascript out into the main.js file so everything is unobtrusive. The generated HTML/javascript doubles the size of the rendered HTML, and add lots of whitespace and stuff that makes it hard to read. I understand there are tools like Firebug to inspect the DOM, but it's also nice to open it in any browser to take a glance, I do that all the time. That would take max an hour to fix :), and it would be greatly valued by the developer community. That's it, just some optimization suggestions to make customization more rewarding :) Well, that and javascript support so I can do custom analytics tracking and animations. Until then! Best, promo