I’ve already implemented several steps to improve this blog performance: Install W3 Total Cache plugin. Register to CloudFlare CDN to reduce the load on the server. Those two work pretty well, but there was still a problem with the Time to First Byte according to http://www.webpagetest.org. It got an F mark for First Byte Time. Sometimes I would get TTFB (Time To First Byte) of 20 seconds and more. TTFB is synonym of slow back-end processing either because of poorly optimized software or insufficient hardware specs or both. Part of the problem is probably due to my hosting provider (I use a shared hosting) and I sometimes get very high server load in CPanel (e.g. 50 (4 cpus)) whether my blog is running or not. But I found a blog post explaining how to try to reduce the TTFB for WordPress blog by installing Better Delete Revision plugin in order […]
Picture Size Optimization for Embedded Systems
If you are developing an embedded system that requires a graphical user interface, you’ll likely have quite a few icons and/or images to store in the flash/rom. If your hardware has limited space, you may have to optimize the size of picture so that they can fit into your flash with no or minimal loss of quality. Reducing image size may also be of interest for mobile websites that can be accessed by devices with lower hardware specs and relatively low network throughput (EDGE/3G). I’ll use GIMP 2.6 – The GNU Image Manipulation Program to work on pictures in order to optimize their size. Selecting the picture format The most common picture file formats are bmp, jpg, png and gif. BMP File Format (aka Bitmap Image File or Device Independent Bitmap) can not compress images except for 8-bit color depth, so it is not suitable for embedded systems. JPG File […]