Method to invalidate index.html