#340557 by Dave Cohen, Dave Reid, dropcube, smk-ka: speed up drupal_is_front_page() by caching its value instead of computing each time