optimize source content type regexp
Add ETag support