Fix generating appcache on server start