Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

How to use CachingHttpClient ? #464

Open
barhom opened this issue May 2, 2022 · 1 comment
Open

How to use CachingHttpClient ? #464

barhom opened this issue May 2, 2022 · 1 comment

Comments

@barhom
Copy link

barhom commented May 2, 2022

How can I make Goutte use CachingHttpClient so that GET requests are cached?

@stof
Copy link
Member

stof commented May 2, 2022

Goutte 4 is just an alias for the HttpBrowser of symfony/browser-kit (for migration purposes). That class takes an HttpClientInterface as its first (optional) constructor argument.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants