Socket
Socket
Sign inDemoInstall

uniform-cache-dummy

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    uniform-cache-dummy

Dummy implentation (no backing store) of the uniform-cache interface


Version published
Maintainers
1
Install size
2.27 kB
Created

Readme

Source

node-uniform-cache dummy implementation

Uniform Cache is a collection of modules which present an identical or uniform interface to various caching mechanisms.

The interface provided is relatively basic to ensure portability between backing stores, but also provides a basic read-through mechanism.

This module represents the 'dummy' implementation, i.e. all fetch operations will return null unless used in read-through mode. No storage actually takes place. This is the equivalent of 'no caching', but this implentation allows code that utilises the uniform-cache interface to disable all caching simply by switching the module name, handy for development/testing purposes.

More details are available through the separate README file in the root of the repository on GitHub.

###Module-specifics This module takes no arguments, but does behave differently in that it will not store any data. Fetch commands will return null unless used in read-through mode, store, remove, and close commands are all no-op (though callbacks will still be executed), increment command will behave as if the key did not exist before the command ran.

FAQs

Last updated on 28 Jul 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc