Mercurial > hg > nginx-site
view xsls/dirmap.xsls @ 1352:dbb618f60a54
Elaborate on writing proxied responses to files.
Added a note that restrictions imposed by proxy_max_temp_file_size,
proxy_temp_file_write_size and Co. do not apply to responses that
will be cached or saved on disk.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 11 Nov 2014 17:31:37 +0300 |
parents | 333eccb8a7f6 |
children |
line wrap: on
line source
<!-- Copyright (C) Nginx, Inc. --> X:stylesheet { X:output method="text"; X:strip-space elements="*"; X:template = "link" { !{@id} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "link[@id = 'include']" { X:text{\\} !{@id} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "link[starts-with(@id, 'var_')]" { X:text{$} !{substring-after(@id, 'var_')} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "links | varlinks" { X:for-each "link", X:sort "@id" { X:if "count(preceding-sibling::link[@id = current()/@id]) = 0" { !! "."; } } } }