Skip to content

Commit f957c0f

Browse files
committed
bumped version to 0.19; also added a "Trouble Shooting" section to docs.
1 parent da90215 commit f957c0f

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-5
lines changed

README

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Status
99
This module is production ready.
1010

1111
Version
12-
This document describes srcache-nginx-module v0.18
13-
(<https://github.com/agentzh/srcache-nginx-module/tags>) released on 25
14-
January 2013.
12+
This document describes srcache-nginx-module v0.19
13+
(<https://github.com/agentzh/srcache-nginx-module/tags>) released on 4
14+
February 2013.
1515

1616
Synopsis
1717
upstream my_memcached {
@@ -885,6 +885,21 @@ Caveats
885885
}
886886
}
887887

888+
Trouble Shooting
889+
To debug issues, you should always check your Nginx "error.log" file
890+
first. If no error messages are printed, you need to enable the Nginx
891+
debugging logs to get more details, as explained in
892+
[[Debugging#Debugging_log]].
893+
894+
Several common pitfalls for beginners:
895+
896+
* The original response carries a "Cache-Control" header that
897+
explicitly disables caching and you do not configure directives like
898+
srcache_response_cache_control.
899+
900+
* The original response is already gzip compressed, which is not
901+
cached by default (see srcache_ignore_content_encoding).
902+
888903
Installation
889904
It is recommended to install this module as well as the Nginx core and
890905
many other goodies via the ngx_openresty bundle

README.markdown

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This module is production ready.
1818
Version
1919
=======
2020

21-
This document describes srcache-nginx-module [v0.18](https://github.com/agentzh/srcache-nginx-module/tags) released on 25 January 2013.
21+
This document describes srcache-nginx-module [v0.19](https://github.com/agentzh/srcache-nginx-module/tags) released on 4 February 2013.
2222

2323
Synopsis
2424
========
@@ -756,6 +756,16 @@ Caveats
756756
}
757757

758758

759+
Trouble Shooting
760+
================
761+
762+
To debug issues, you should always check your Nginx `error.log` file first. If no error messages are printed, you need to enable the Nginx debugging logs to get more details, as explained in [[Debugging#Debugging_log]].
763+
764+
Several common pitfalls for beginners:
765+
766+
* The original response carries a `Cache-Control` header that explicitly disables caching and you do not configure directives like [srcache_response_cache_control](http://wiki.nginx.org/HttpSRCacheModule#srcache_response_cache_control).
767+
* The original response is already gzip compressed, which is not cached by default (see [srcache_ignore_content_encoding](http://wiki.nginx.org/HttpSRCacheModule#srcache_ignore_content_encoding)).
768+
759769
Installation
760770
============
761771

doc/HttpSRCacheModule.wiki

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This module is production ready.
1010

1111
= Version =
1212

13-
This document describes srcache-nginx-module [https://github.com/agentzh/srcache-nginx-module/tags v0.18] released on 25 January 2013.
13+
This document describes srcache-nginx-module [https://github.com/agentzh/srcache-nginx-module/tags v0.19] released on 4 February 2013.
1414

1515
= Synopsis =
1616

@@ -718,6 +718,15 @@ This variable was first introduced in the <code>v0.14</code> release.
718718
}
719719
</geshi>
720720

721+
= Trouble Shooting =
722+
723+
To debug issues, you should always check your Nginx <code>error.log</code> file first. If no error messages are printed, you need to enable the Nginx debugging logs to get more details, as explained in [[Debugging#Debugging_log]].
724+
725+
Several common pitfalls for beginners:
726+
727+
* The original response carries a <code>Cache-Control</code> header that explicitly disables caching and you do not configure directives like [[#srcache_response_cache_control|srcache_response_cache_control]].
728+
* The original response is already gzip compressed, which is not cached by default (see [[#srcache_ignore_content_encoding|srcache_ignore_content_encoding]]).
729+
721730
= Installation =
722731

723732
It is recommended to install this module as well as the Nginx core and many other goodies via the [http://openresty.org ngx_openresty bundle]. It is the easiest way and most safe way to set things up. See OpenResty's [http://openresty.org/#Installation installation instructions] for details.

0 commit comments

Comments
 (0)