Create cache directory when starting server