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

/graphql-persistent-layer/

    Package Sidebar

    Install

    npm i graphql-persistent-layer

    Weekly Downloads

    4

    Version

    0.1.0

    License

    none

    Unpacked Size

    24.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • samyiman777