Version 1.11.0
Under heavy load, the singleton Web datasource cache instance could intermittently write data to the cache under a different key than anticipated. This version reverts an earlier change to make this a singleton, and now once again gives each data provider it's own cache instance.
New features
- datasource endpoints can now include querystring parameters, additional API parameters will be added to the end rather than replacing what is there
Changed
- revert back to individual cache instances for pages & datasources
- fix: allow datasource cache options to override main cache options, so datasources can specify their own TTL value
Installation notes
Installing from NPM using the command npm install @dadi/web
will by default install the version with the "latest" tag. Currently, the "latest" version is 2.0.1 To install this version (1.11.0) use the command npm install @dadi/web@one
, where "one" is the tag for the Version 1.x branch.