Posts Tagged ‘caching’

Why Use PHP Caching?

January 10th, 2012 Leave a comment
Why Use PHP Caching?

In the beginning, when the Internet was new, it was easy to create fast HTML web pages that could load easily on a dial-up modem. Once a page was requested, the browser would create a cached version of the site on the computer in a temporary directory and later, should that page be requested again, it would simply serve the cached version instead of making a request to the server. This made everything much faster! Then dynamic pages came onto the scene and messed that idea up. Now we must make requests to our server every time the… View full post »

PHP Caching Solutions: Best of the Pack

November 23rd, 2011 Leave a comment 2 comments
PHP Caching Solutions: Best of the Pack

Site performance versus traffic: it is a tough battle to fight. When working with PHP applications we usually have to face this issue sooner or later, as a site becomes more popular it can begin to suffer from performance issues. There are several ways that you can improve your site’s performance to help solve this problem, but one of the easiest ways is to set up PHP caching. PHP Caching is an excellent solution for Web sites that wish to improve their site performance by allowing their dynamic pages to be stored client-side by your application. These solutions… View full post »

Using memcached to Cache Content

July 26th, 2011 Leave a comment
Using memcached to Cache Content

Web servers in the modern era are expected to do a great deal of processing and serving of all different types of content; the amount and type of content now, in fact, is far greater and more varied than it was even ten years ago. In response to these demands placed on web servers and database servers, caching systems have come into existence in order to speed up performance and help with database and web performance. memcached is a distributed memory caching system developed for use in LiveJournal’s web and database service. It is now a general-purpose, open caching server for… View full post »

HTML5 Application Caching

April 6th, 2011 Leave a comment
HTML5 Application Caching

HTML5 has a number of great things about it that HTML4 did not; in this article, we’re going to talk about one specifically, principally how much better it is at dealing with offline caching than its predecessor. In HTML4, you had no alternative to offline caching except for manually downloading whatever it is you wanted off the website you were browsing; this was clumsy and inefficient, especially since the website can change daily or even hourly, rendering your offline copy useless until you manually downloaded it all over again. Furthermore, the page would render oddly if you didn’t download all… View full post »

MySQL Caching Techniques

April 5th, 2010 Leave a comment
MySQL Caching Techniques

MySQL is an incredibly powerful and robust database which is why it powers so many web sites and web applications today. However, even the best database often needs additional help to keep up with the high volume demands of popular sites or web applications. MySQL is no exception. One way that many developers squeeze additional performance from MySQL is through caching in order to reduce the number of queries hitting the database. There are a number of techniques for caching MySQL queries. Cache Types File-based Cache The simplest system for MySQL caching is a file based system. In… View full post »