Cache image resources.
How to configure Edgemesh® Client
There are two ways to configure the Edgemesh® Client: through the Edgemesh® Portal and via the EDGEMESH
global variable in your source code.
Portal Configuration
The Edgemesh® Portal provides an interface to configure boolean options related to cache control and feature flags. These options can be set without the need for a code update. Below are the available configuration options in the portal:
image
bmp
, bpg
, eps
, gif
, ico
, jpeg
, jpg
, pict
, png
, svg
, svgz
, tif
, tiff
, webp
video
Cache video resources.
amv
, avi
, drc
, f4bogv
, f4p
, f4v
, flv
, gifv
, m2v
, m4v
, mkv
, mov
, mp2
, mp4
, mpe
, mpeg
, mpg
, mpv
, qt
, webm
, wmv
, 3g2
, 3gp
audio
Cache audio resources.
aac
, aiff
, f4a
, flac
, m4a
, m4p
, mid
, midi
, mogg
, mp3
, ogg
, oga
, opus
, ra
, rm
, wav
stylesheet
Cache stylesheet resources.
css
font
Cache font resources.
ttf
, otf
, woff
, woff2
, eot
application
Cache application resources.
js
, json
, swf
, wat
, wasm
archive
Cache archive resources.
apk
, bz2
, dmg
, gz
, iso
, jar
, lz
, lzma
, rar
, tar
, tbz2
, tgz
, tlz
, txz
, xz
, z
, zip
, zipx
, 7z
document
Cache document resources.
doc
, docx
, otf
, pdf
, ppt
, pptx
, ps
, xls
, xlsx
html
Cache HTML (navigation) resources.
htm
, html
, mode = navigation
lite
Enable lite (metrics only) mode.
prefetch
Enable intelligent prefetching.
pause
Pause caching.
These options can be configured through the domain settings page in the Edgemesh® Portal.
Global Variable
The global variable allows you to configure options that are required at start time, before the Portal Configuration is received. These options are related to endpoint configuration and feature overrides. Any options set in the global variable will override their counterpart in the Edgemesh® Portal. You can find a list of options that can be set in the global variable in the reference documentation.