graphql-persistent-layer

0.1.0 • Public • Published

Restful API vs GraphQL

restful API - automatically or with fetch cache, it caches api call

However

GraphQL only support in-memory cache

If our end user refreshes the webpage, it has to fetch again

because every graphql api is post /graphql => dynamic so cannot cache

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.01

Package Sidebar

Install

npm i graphql-persistent-layer

Weekly Downloads

1

Version

0.1.0

License

none

Unpacked Size

24.4 kB

Total Files

10

Last publish

Collaborators

  • samyiman777