Adding caching to .htaccess and FileHandler class