Skip to content

Experimental: Plugin to cache store-api requests in Fastly

Notifications You must be signed in to change notification settings

shopwareLabs/SwagStoreApiCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

SwagStoreAPICache

Experimental!

This plugin is an experimental implementation of a reverse-proxy-cache for the Store API.

How to use it:

  • Install the plugin
  • Change fastly config based on the config provided in src/Resources/fastly_config (the changes from the base config are marked with # Cache Store-API requests)
  • Adjust the api client(s) to always send the sw-cache-hash cookie they get in the response with the following requests (otherwise wrong data might be shown (e.g. logged-in state))

About

Experimental: Plugin to cache store-api requests in Fastly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published