Commits
pkarw committed be66687bb7d
Experimental GET method support for ElasticSearch queries - #2021 @NataliaTepluhina - new config option just has landed :) Starting from Vue Storefront v1.6 user may set the: config.elasticsearch.queryMethod to either "POST" (default) / "GET". When "GET" is set, the ElasticSearch Query object is passed to vue-storefront-api as a request parameter named "request". By doing so Service Worker will now able to cache the results from ElasticSearch. Service Workers can not cache any POST requests currently. Notice: Service worker is not caching the /api requests on development envs. (localhost) as the vue-storefront-api by default runs on different port (8080)