10 quick tips to speed up your Drupal website

It is not impossible to make you drupal website 10x faster just by some tuning work. If your drupal site is slow, here are some tips that may speed up your drupal site:

"No code is faster than no code"
Reducing unnecessary blocks or modules from your site may speed up your dupal website significantly.

Enable Drupal page cache
Drupal construct a page every time the page is visited. Enabling the drupal page cache function will offer a performance boost by storing and sending pre-constructed cached pages to anonymous users. This will speed up your drupal website significantly if most of your visitors are unregistered users.

Enable block and views cache
Constructing drupal blocks and views every time a page is requested may slow down you drupal site. Enabling these cache functions may solve the problem.

Turn on CSS and Javascript file optimization functions
Combining and compressing CSS and Javascript files reduce file request and save up web server load, which can speed up you drupal site.

Pick a simpler theme
The simple themes, which use small CSS and few image files, can reduce page sizes. It is why I choose this simple clean theme for my blog o learn.

Enable web servers’ file compression function
Most web page files will become very small after being compressed. Enabling you web server’s file compression function will save bandwidth and improve download times. ( Note: disable drupal page compression to avoid the duplicate process for cached pages)

Enable MySQL query cache
Queries that fetch complex data from database may take a lot of time. You can speed up your drupal sites by enabling MySQL's query cache function, which re-use the results of the common queries.

Memcache
relate post: Howto: Integrate memcached to speed up your drupal site
Caching data with memory other than database or file system can speed up drupal website. Modules like Memcache API and Integration or Cache Router can help. Also consider caching path alias with Path Cache if you are using memcache.

Install PHP accelerator
A php server converts drupal code into executable program every time a script is loaded. Installing a php script cache software will save some of the time by reusing cached codes.

Stop ajaxing
Stop ajaxing if it is unnecessary. A ajax comment function will bring up a bunch of extra code every time a blog page is loaded, while, the fact is, only one of the hundred visitors may taste the limited benefit.

06 Jul19:12
By anjjriit (not verified)

Thanks for share this good topics. I have used boost http://drupal.org/project/boost for cache, do I still need to install http://drupal.org/project/cacherouter and http://drupal.org/project/pathcache ?

Post new comment

The content of this field is kept private and will not be shown publicly.