Skip to content

Possibility to run cache warm up also with activated basic http auth #783

Open
@aboritskiy

Description

@aboritskiy

Is your feature request related to a problem? Please describe.
If production or staging env is behind basic http auth - cache warm up will fail cause it will not get access to the server.
This makes it problematic to test if cache warm up actually works which preparing the website for go live without granting access to general public.

Describe the solution you'd like
One can pass auth configuration to Guzzle Http lib, this way Guzzle will be able to authenticate against password protected magento pages and warm up cache.

Describe alternatives you've considered
Possible alternative is simply always whitelist request coming from the host itself.

Additional context
No additional context except for the fact that Guzzle Http actually supports that feature, one just needs to pass proper config in it.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions