Skip to content

Commit b156fd4

Browse files
committed
doc: recommended use of ngx_lua instead of ngx_echo's echo_location/echo_subrequest in the "Known Issues" section.
1 parent 0e9e0b5 commit b156fd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ This variable was first introduced in the `v0.14` release.
918918
Known Issues
919919
============
920920
* On certain systems, enabling aio and/or sendfile may stop [srcache_store](#srcache_store) from working. You can disable them in the locations configured by [srcache_store](#srcache_store).
921-
* The [srcache_store](#srcache_store) directive can not be used to capture the responses generated by [echo-nginx-module](http://github.com/openresty/echo-nginx-module)'s subrequest directivees like [echo_subrequest_async](http://github.com/openresty/echo-nginx-module#echo_subrequest_async) and [echo_location](http://github.com/openresty/echo-nginx-module#echo_location).
921+
* The [srcache_store](#srcache_store) directive can not be used to capture the responses generated by [echo-nginx-module](http://github.com/openresty/echo-nginx-module)'s subrequest directivees like [echo_subrequest_async](http://github.com/openresty/echo-nginx-module#echo_subrequest_async) and [echo_location](http://github.com/openresty/echo-nginx-module#echo_location). You are recommended to use HttpLuaModule to initiate and capture subrequests, which should work with [srcache_store](#srcache_store).
922922

923923
[Back to TOC](#table-of-contents)
924924

doc/HttpSRCacheModule.wiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ This variable was first introduced in the <code>v0.14</code> release.
755755

756756
= Known Issues =
757757
* On certain systems, enabling aio and/or sendfile may stop [[#srcache_store|srcache_store]] from working. You can disable them in the locations configured by [[#srcache_store|srcache_store]].
758-
* The [[#srcache_store|srcache_store]] directive can not be used to capture the responses generated by [[HttpEchoModule]]'s subrequest directivees like [[HttpEchoModule#echo_subrequest_async|echo_subrequest_async]] and [[HttpEchoModule#echo_location|echo_location]].
758+
* The [[#srcache_store|srcache_store]] directive can not be used to capture the responses generated by [[HttpEchoModule]]'s subrequest directivees like [[HttpEchoModule#echo_subrequest_async|echo_subrequest_async]] and [[HttpEchoModule#echo_location|echo_location]]. You are recommended to use HttpLuaModule to initiate and capture subrequests, which should work with [[#srcache_store|srcache_store]].
759759
760760
= Caveats =
761761
* It is recommended to disable your backend server's gzip compression and use nginx's [[HttpGzipModule]] to do the job. In case of [[HttpProxyModule]], you can use the following configure setting to disable backend gzip compression:

0 commit comments

Comments
 (0)