wiki error handling validation template caching