Creativity Flows http://creativityflows.com
Creativity Flows Blog http://creativityflows.com/blog
Wednesday, November 18, 2009
Sunday, July 26, 2009
Friday, July 17, 2009
Thursday, June 25, 2009
Flush the Buffer Early
Flush the Buffer Early
tag: server
When users request a page, it can take anywhere from 200 to 500ms for the backend server to stitch together the HTML page. During this time, the browser is idle as it waits for the data to arrive. In PHP you have the function flush(). It allows you to send your partially ready HTML response to the browser so that the browser can start fetching components while your backend is busy with the rest of the HTML page. The benefit is mainly seen on busy backends or light frontends.
A good place to consider flushing is right after the HEAD because the HTML for the head is usually easier to produce and it allows you to include any CSS and JavaScript files for the browser to start fetching in parallel while the backend is still processing.
Example:
...<!-- css, js -->
</head>
<?php flush(); ?>
<body>
... <!-- content -->
Yahoo! search pioneered research and real user testing to prove the benefits of using this technique.
Friday, June 19, 2009
Monday, June 8, 2009
85+ Tools & Resources for Freelancers and Web Workers/
Deciding to become a freelance worker can be a scary proposition. Sure there is an allure to picking what projects you work on, but it can also be stressful not knowing where your next paycheck will come from. Luckily there are numerous resources out there that not only help you find more work, but also loads of tools to help you do your job more efficiently with a professional edge.
We’ve gathered over 85 tools and job sites for a variety of freelancers and web workers. While a lot of these items are focused on web design elements such as photography, programming and writing, we made sure to include something for everyone. Check it out here
We’ve gathered over 85 tools and job sites for a variety of freelancers and web workers. While a lot of these items are focused on web design elements such as photography, programming and writing, we made sure to include something for everyone. Check it out here
Subscribe to:
Posts (Atom)