meta.php: Add $cache_lifetime for Fragment and logic to cache only on production