Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mojito-cache

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mojito-cache

A set of libraries for various caching strategies in mojito.

  • 0.2.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

#mojito-cache

Build Status

Mojito Cache is a package of caching libraries that perform optimizations that are not natively supported by mojito and are not necessarily desirable in the mainstream mojito distribution. Mojito Cache allows the reuse of the same Action Context between mojit instances of the same type, which is appropriate in most cases. Mojito Cache is not intended as a communication facility between mojit instances, but rather as a transparent optimization mechanism for high performance applications.

##Usage In the application configuration file (often application.yaml) include the following properties:

	"request-cache": {
		"refreshAddons": ["myAddon"]
	}

You can specify the list of addons that need to be refreshed across mojit instances FOR THE SAME REQUEST. Caching in that context can be useful if much is shared between mojits instances on the same page. Typically 'params' and 'config' need to be refreshed for the instances to render differently.

Keywords

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc