You are here

Drupal 7 static content expire headers

Posted: Mon, 02/01/2012
The users browser don't cache static content, if your web-server don't sets the right expire or max-age headers. Drupal sets these headers for static content in the .htaccess file that comes with Drupal, if you have the expire Apache extension enabled.

Sending Drupal log enteries to syslog

Posted: Sun, 18/12/2011
In Drupal you can log message to the database, which is the standard way to log system events. On high traffic sites this can be come a bottleneck for the database server, so an alternative is to send the log message to the systems logging service.

Speed up MySQL on development laptop (SSD disk)

Posted: Mon, 05/12/2011
I had big problems synchronizing MySQL database form the staging and production servers to my laptop. It could take up to 15 minutes for an simple site... now it only takes around 35 seconds.

Context inline editor and locked regions

Posted: Tue, 15/11/2011
When using the context in-line editor to allow editors to add blocks (nodespotbox) to regions you can lock regions, so editors can't drag & drop blocks into locked regions.

Aegir queue runner

Posted: Sat, 05/11/2011
This post explains how to install the aegir queue runner, so that the tasks will be executed as once.

Panels template files using template suggestions

Posted: Mon, 10/10/2011
This post explains how to use panels preprocess function to create template suggestions for panes in Drupal 7.