Files
nextcloud-docs/admin_manual/installation
Daniel Calviño Sánchez eb73b789bb Allow to serve static WebAssembly and TensorFlow Lite files
Since Talk 13 (and thus Nextcloud 23) WebAssembly (.wasm) and TensorFlow
Lite (.tflite) files need to be loaded from the web server to provide
certain features (like the background blur in the WebUI).

Those files can be treated in a similar way to other static resources,
and there should not be any problem caching or compressing them.
However, as compressed TensorFlow Lite files are only ~12% smaller,
the compression directive depends on the MIME type and there is no
standard MIME type for TensorFlow Lite files, for now only WebAssembly
files are compressed.

Depending on the setup "application/wasm" may not be associated with
".wasm" files, so the directive was added just in case, as the
compression is enabled through the MIME type and, besides that, the
browsers log a warning if the expected MIME type is not returned.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-17 13:06:58 +01:00
..
2020-03-28 23:29:46 +01:00
2021-08-27 09:21:57 +02:00
2018-03-20 08:58:40 +01:00
2020-08-07 14:23:33 +02:00
2021-03-16 21:44:02 +01:00
2020-12-27 10:32:58 +01:00
2021-02-19 18:28:55 +01:00
2021-05-24 19:58:27 +02:00
2021-03-17 14:23:17 +01:00
2021-08-09 16:18:15 +02:00