openresty / srcache-nginx-module

Transparent subrequest-based caching layout for arbitrary nginx locations.
http://wiki.nginx.org/NginxHttpSRCacheModule
476 stars 105 forks source link

example using srcache with php-fpm #58

Closed vishalred closed 8 years ago

vishalred commented 8 years ago

Hi,

We are tying to use srcache with php-fpm . Please advice if you have any reference we can use for our implementation.

Thank you, Vishal

agentzh commented 8 years ago

@vishalred Have you seen the official documentation of this module?

https://github.com/openresty/srcache-nginx-module/#readme

Nginx does not really care what's behind fastcgi_pass BTW as long as that thing speaks the FastCGI protocol.

vishalred commented 8 years ago

@agentzh thank you for the update.

my config is not working for some reason. Do u have a tutorial or example code I can use as a ref ?

Thankyou, Vishal

agentzh commented 8 years ago

Have you read the doc carefully? It has a lot of examples. It also has tips on debugging issues in your configuration.