php-proxy-app icon indicating copy to clipboard operation
php-proxy-app copied to clipboard

Is it possible to cahce proxified website?

Open Medow opened this issue 6 years ago • 2 comments

Hello:

I use your product on private server and it work great as expected.

But i need to know if there is any chance to store visit website on local drive for a configured time to limit the external request. Because this will low the stress on server and low the ban chance for too many proxified website request.

Thanks.

Medow avatar Feb 06 '19 07:02 Medow

Sure. There's this:
https://github.com/Athlon1600/php-proxy-plugin-cache

but it wouldn't be too difficult to write your own plugin either if you don't want to use redis for cache for example:
https://github.com/Athlon1600/php-proxy-plugin-bundle

Athlon1600 avatar Feb 16 '19 16:02 Athlon1600

@Athlon1600 I just tried this by manually adding php-proxy-plugin-cache to the /vendor/athlon1600/ folder but I get a http 500 error whenever I try to proxy a site. If I remove Cache from my config.php, it works again.

Could you please take a look at this branch?

Benji-Collins avatar Feb 17 '19 08:02 Benji-Collins