diff options
author | Luciano Iam <lucianito@gmail.com> | 2020-04-22 11:26:51 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-22 21:59:35 +0200 |
commit | c362605b49491eb98e0758eebd2f35c6a1f1271c (patch) | |
tree | 30a0c17e4dd8a776541e71a9b27a11fcf914331d /libs/surfaces/websockets/server.cc | |
parent | 8b65b0a9613a7a25e415c2a9d402c602735cc221 (diff) |
WebSockets: add some TO DO comments
Diffstat (limited to 'libs/surfaces/websockets/server.cc')
-rw-r--r-- | libs/surfaces/websockets/server.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaces/websockets/server.cc b/libs/surfaces/websockets/server.cc index 7613d85e38..72edffd8cf 100644 --- a/libs/surfaces/websockets/server.cc +++ b/libs/surfaces/websockets/server.cc @@ -72,6 +72,9 @@ WebsocketsServer::WebsocketsServer (ArdourSurface::ArdourWebsockets& surface) _lws_mnt_root.origin = _resources.index_dir ().c_str (); _lws_mnt_root.origin_protocol = LWSMPRO_FILE; _lws_mnt_root.def = "index.html"; + /* do not send caching headers if NDEBUG is set, this is useful while + * developing web surfaces. Ideally this would exist as a configurable + * option in the TO DO surface settings UI */ #ifdef NDEBUG _lws_mnt_root.cache_max_age = 3600; _lws_mnt_root.cache_reusable = 1; |