Skip to content

Commit f60a11f

Browse files
authored
Update docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md
1 parent cf629f1 commit f60a11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ And usage example of `TruncatedReadStream`:
558558
### Example: Apply `CachePolicy` headers
559559

560560
> [!WARNING]
561-
> `HttpClient` does not have built-in logic to cache responses. There is no workaround other than implementing all the caching yourself. Simply setting the headers will not achieve caching.
561+
> `HttpClient` doesn't have built-in logic to cache responses. There is no workaround other than implementing all the caching yourself. Simply setting the headers won't achieve caching.
562562
563563
When migrating from `HttpWebRequest` to `HttpClient`, it's important to correctly handle cache-related headers such as `pragma` and `cache-control`. These headers control how responses are cached and retrieved, ensuring that your application behaves as expected in terms of performance and data freshness.
564564

0 commit comments

Comments
 (0)