locale

Locale cache in memory for Drupal

A few months ago, due to the week performance of the Amazee application for some pages, the need for a speed improvement came up. So, we tried to think about some ways of improving the overall speed of the Amazee site. A very good idea came from Liviu: caching the locale in memory. The locale functionality is one or maybe even the most used in the Amazee application, and in general in all Drupal based sites so a good way of caching the localization strings is vital for a good speed of the application. This was even more vital in this case, because at the moment, in Amazee there are over 3500-4000 strings. Also, at the moment there are 2 languages enabled, but the number could increase.