openresty / srcache-nginx-module

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

"srcache_default_expire" directive invalid value" in when using "ms" (milliseconds) #98

Open jfloodnet opened 2 years ago

jfloodnet commented 2 years ago

The README.md states Time units supported are "s"(seconds), "ms"(milliseconds), "y"(years), "M"(months), "w"(weeks), "d"(days), "h"(hours), and "m"(minutes). For example

            srcache_default_expire 500ms;