Disables RealURL caching in the database as it slows down generating the links
Adapts config for locale and increases performance by doing the bootstrapping only once

Compatibility: Site configuration has to be adapted for non-default sites