Skip to content

No Results Found

Apr 15

MySQL Query Profiling

MySQL query profiling is a useful technique when trying to analyze the overall performance of a database driven application. When developing a mid to large size application, there tends to be hundreds of queries distributed throughout a large code base and potentially numerous queries ran against the database per second. Without some sort of query […]

Feb 18

Understanding Big O Algorithm Analysis

Algorithm analysis is a key component of successful software development. Often times we as developers get reliant on the languages that we use and allow their libraries to hide complexities that we should be taking the time to understand. Learning how native language functions are implemented and how well they perform is an essential part […]

Feb 15

Analyzing PHP Code with Xdebug

Xdebug is a PHP extension that allows you to profile and debug your PHP code. It enables you to get detailed breakdowns of memory usage, function call costs, code efficiency, etc. on both your PHP scripts and HTTP page loads. Xdebug offers many unique features and it’s an invaluable tool for analyzing code during the […]

Jan 22

PHP Performance with APC Opcache

PHP is an interpreted language, opposed to a compiled language, meaning that each time a PHP file is requested it must be parsed and interpreted. By using an opcode cacher, such as APC, you are allowing compiled PHP code to be stored in shared memory. Thus when files are requested multiple times they do not […]

Jan 18

Increase Page Load Speed with Apache KeepAlive

The KeepAlive directive for Apache allows a single request to download multiple files. So on a typical page load, the client may need to download HTML, CSS, JS, and images. When KeepAlive is set to “On”, all of these files can be downloaded in a single request. If KeepAlive is set to “Off”, each file […]

Jan 17

Increase Page Load Speed with Apache mod_deflate

Apache’s mod_deflate is an Apache module that will compress output from your server before it is sent to the client. If you have newer version of Apache the mod_deflate module is probably loaded by default, but it may not be turned on. To check if compression is enabled on your site, first verify that the […]

Jan 13

Website Performance with Browser Caching: Part 2 – Dynamic Files

As outlined in the previous article, browsers will cache static files by default. However, HTML files and scripts, PHP in this case, do not cache by default because they do not return ETag or Last-Modified values. Also, scripting files are used to generate dynamic content, so caching such requests would be counter productive as the […]

Jan 13

Website Performance with Browser Caching: Part 1 – Static Files

Controlling the way a browser caches your websites is a very important tool in delivering high performance websites. Many developers rely on default browser caching functionality and don’t leverage client side caching to it’s full capabilities. Modern browsers will cache requests to static files by default (CSS, JS, images, etc.) but will not cache dynamic […]

Blog Powered By Wordpress
Next >>>