UNPKG

strapi-pfapi

Version:

a strapi plugin library uses local and redis caches to achieve single digit milliseconds on average api response time.

10 lines (8 loc) 258 B
'use strict'; const get_checksum = require('./get-checksum'); module.exports = ({params, module_path}) => { if (!params) { throw new Error('failed to generate cache key, missing params'); } return get_checksum({params, module_path}); };