move the clear cache stuff to helmet.php instead