Skip to content

Commit

Permalink
Enhance documentation about server side caching of HTML view
Browse files Browse the repository at this point in the history
  • Loading branch information
dstenger committed Mar 7, 2024
1 parent 18ecfc5 commit 16617e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deegree-ogcapi-documentation/src/main/asciidoc/help.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ How to deploy multiple instances of deegree OAF webapp?::

Multiple deployments of the webapp are possible. Since each instance of the runtime environment can host one or more webapp. For every deployed webapp there must be a deegree workspace available with the name *_ogcapi-workspace_*. It is possible that multiple instances of the webapp can share one single instance of a deegree workspace, for example a setup serving the same data by multiple instances in a load-balancing scenario. To serve different data configured in different deegree workspace's you need to run multiple instances of the runtime environment.
Use the environment variable `DEEGREE_WORKSPACE_ROOT` to set the path to the deegree workspace directory. Read further in section <<configuration>> about the deegree workspace and configuration files.

How to configure server side caching for HTML view?::

Server side caching must be deactivated for the HTML view because it is generated from the JSON on-the-fly. A cache could, for example, contain content generated by a different client.
When requesting any resource of a deegree OGC API, HTTP request header `Cache-Control: no-cache` shall be set to prevent caching. This also applies to proxy servers between the actual client and the deegree OGC API instance.

0 comments on commit 16617e6

Please sign in to comment.