documentation: header/footer edits do not require restart

Since 2.1.1 we don't require a restart to load a new header or
footer file.  These are refreshed on each request.

Change-Id: I4f55c6a561a530a91160bdf9b7d44375cfcf8ecc
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2010-01-08 19:28:12 -08:00
parent 5d1dba01f5
commit 1fdd6bff95
1 changed files with 2 additions and 5 deletions

View File

@ -29,9 +29,6 @@ The CSS rules are inlined into the top of the HTML page, inside
of a `<style>` tag. These rules can be used to support styling
the elements within either the header or the footer.
If any of these files are created, deleted or modified you need to
restart the web application to make the changes take effect.
The *.html files must be valid XHTML, with one root element,
typically a single `<div>` tag. The server parses it as XML, and
then inserts the root element into the host page. If a file has
@ -56,7 +53,7 @@ HTTP Caching
The header, footer, and CSS files are inlined into the host page,
which is always sent with a no-cache header. Clients will see any
changes immediately after the Gerrit server has been restarted.
changes immediately after they are made.
Assets under `'$site_path'/static` whose file name matches one of the
following patterns are served with a 1 year expiration, permitting
@ -71,7 +68,7 @@ very aggressive caching by clients and edge-proxies:
All other assets under `'$site_path'/static` are served with a 5
minute expire, permitting some (limited) caching. It may take up
to 5 minutes after Gerrit restart before clients see the changes.
to 5 minutes after making a change, before clients see the changes.
It is recommended that static images used in the site header
or footer be named with a unique caching file name, for example