Interface Yiisoft\HttpMiddleware\HttpCache\ETagValueNormalizer\ETagValueNormalizerInterface
| Implemented by | Yiisoft\ |
|---|
Normalizes raw ETag values obtained from the If-None-Match request header before comparing them with the
application generated ETag value.
Normalization is needed when an intermediary (for example, a web server compression module such as Apache
mod_deflate or mod_brotli) modifies the ETag header value by appending a suffix (-gzip, -br, etc.).
Public Methods
| Method | Description | Defined By |
|---|---|---|
| normalize() | Returns the normalized ETag value. | Yiisoft\ |
User Contributed Notes
Leave a comment
Join the conversation to share a note.