Skip to content

Commit

Permalink
#180 updated help page about caching of HTML ressources
Browse files Browse the repository at this point in the history
  • Loading branch information
tfr42 committed Mar 13, 2024
1 parent 16617e6 commit 1010916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deegree-ogcapi-documentation/src/main/asciidoc/help.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Use the environment variable `DEEGREE_WORKSPACE_ROOT` to set the path to the dee

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.
Server side caching must be disabled to access the HTML view of deegree OGC API. This is because the HTML view is generated from the JSON resource on-the-fly. Otherwise a client may show outdated content from the cache which was generated by a different client request.
When requesting any resource of deegree OGC API the 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 1010916

Please sign in to comment.