Moved cache clearer to config