Janez Urevc

Web, Software and random stuff.

Linux Journal's Drupal special edition

Latest issue of Linux Journal is completely dedicated to Drupal. You will find a lot of really interesting articles in it. 

One of them is my article about cache in Drupal, where I describe how it works and how to use it. I also compare performance of different cache backends and describe some techniques that will help you to make your website run faster. 

Strange behaviour (race condition) during node_save()

Problem

We have a bigger media website on Drupal 7 with an editorial team of ~20 members. Lately they started to complain about strange behavior when updating content on site. They said, that changes were not saved at all. If they opened a node form immediately after saving it Drupal served old (outdated) content. I first suspected Varnish, but it turned out that Varnish worked OK. Later I realized that the problem obviously lies in field cache

Community momentum

There was a Drupal Balkan summit taking place in Sarajevo, Bosnia and Hercegovina, yesterday. The last session, given by perke, was about awesome things that are happening in Drupal 8. When he presented a Views in Core initiative something absolutely awesome happened. People started to collect money to give a common contribution and I transferred $150 to initiative's Chip-in there at the session. 

How to get client's IP number to Drupal when using Varnish

There are a lot of places, where you need client's IP address in Drupal (or any other CMS/web app of course). The problem arises, when you use a reverse proxy server (like Varnish), since every request to web server will be done by the latter. We will have every single visitor of our website coming from a single IP (reverse proxy), as a result.

slovenskenovice.si - biggest Slovenian Drupal site

Slovenske novice are Slovenian national daily newspaper with largest circulation on national level. Last week we lunched redesign of it's web variant, which is a news portal with about 200.000 unique visitors and 4.5 million impressions per month. This numbers wil definetely become larger soon, as they have monthly growth between 10 and 15%.

DrupalCon Denver 2011 - Media derivatives: take control over your files

Derivatives API is a Drupal project I developed during this year's Summer of Code. It is a framework, that tries to implement a simple, reliable and powerfull framework for asset derivation in Drupal. It can cover a lot of different use cases. We are in the times of emerging new technologies of HTML5, mobile publishing, responsive web, ... I believe that Derivatives API has it's piece in a puzzle of support of this new technologies on Drupal.