Config Client
The Edgemesh® Client configuration provides various options that can be set in the Portal and by the API. These options define how Edgemesh® Client will operate on your site.
Get Config
GET
Returns the current Edgemesh® Client configuration.
Request Parameters
Response Properties
URL
https://api.edgemesh.com/2022-08/config/client
Extensions
image | bmp, bpg, eps, gif, ico, jpeg, jpg, pict, png, svg, svgz, tif, tiff, webp |
video | amv, avi, drc, f4bogv, f4p, f4v, flv, gifv, m2v, m4v, mkv, mov, mp2, mp4, mpe, mpeg, mpg, mpv, qt, webm, wmv, 3g2, 3gp |
audio | aac, aiff, f4a, flac, m4a, m4p, mid, midi, mogg, mp3, ogg, oga, opus, ra, rm, wav |
stylesheet | css |
font | ttf, otf, woff, woff2, eot |
application | js, json, swf, wat, wasm |
archive | apk, bz2, dmg, gz, iso, jar, lz, lzma, rar, tar, tbz2, tgz, tlz, txz, xz, z, zip, zipx, 7z |
document | doc, docx, otf, pdf, ppt, pptx, ps, xls, xlsx |
html | htm, html, mode = navigation |
GETGet Client Config
Example Response
Update Config
PUT
Update the Edgemesh® Client configuration. Any of the configuration options set in the request body will be updated. The omitted options will remain unmodified.
Changing configurations should not be taken lightly. We strongly suggest that you stage any configuration changes before changing your production configuration. A misconfiguration could result in facets of your site becoming inoperable. If you require configuration assistance, feel free to contact support. Our support team is willing and able to help you achieve your desired configuration in a safe manner.
Request Parameters
OPTIONAL
Enable the Shopify Plugin.
The Shopify Plugin enables a local state machine for cart routes to prevent /cart.js
and /cart.json
calls from hitting the Shopify servers on every request. This significantly improves cart performance and mitigates rate limiting by the Shopify backend.
Response Properties
URL
https://api.edgemesh.com/2022-08/config/client
Extensions
image | bmp, bpg, eps, gif, ico, jpeg, jpg, pict, png, svg, svgz, tif, tiff, webp |
video | amv, avi, drc, f4bogv, f4p, f4v, flv, gifv, m2v, m4v, mkv, mov, mp2, mp4, mpe, mpeg, mpg, mpv, qt, webm, wmv, 3g2, 3gp |
audio | aac, aiff, f4a, flac, m4a, m4p, mid, midi, mogg, mp3, ogg, oga, opus, ra, rm, wav |
stylesheet | css |
font | ttf, otf, woff, woff2, eot |
application | js, json, swf, wat, wasm |
archive | apk, bz2, dmg, gz, iso, jar, lz, lzma, rar, tar, tbz2, tgz, tlz, txz, xz, z, zip, zipx, 7z |
document | doc, docx, otf, pdf, ppt, pptx, ps, xls, xlsx |
html | html, html, mode = navigation |
PUTUpdate Client Config
Example Response