A wrapper for require which loads modules even if they are cached.
Memoize the results of the path.relative function
An LRU cache of weak references
A decorator on top of `fetch` that caches the DNS query of the `hostname` of the passed URL
A decorator on top of `fetch` that caches the DNS query of the `hostname` of the passed URL
decache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.
Infer the owner of a path based on the owner of its nearest existing parent
Opinionated `fetch` optimized for use inside microservices
Just like `fs.exists` and `fs.existsSync`, but cached
[](https://badge.fury.io/js/typescript-cached-transpile)
Opinionated `fetch` optimized for use inside microservices
Quick and dirty signatures for Objects.
Provides a directory where the OS wants you to store cached files.
Polyfill for RFC 566: @cached
Caches dns resolutions made with async dns.resolve instead of default sync dns.lookup, refreshes in background
Creates and caches values under keys. 🏭
the http/https agent used by the npm cli
Fetch package artifacts and metadata from registries
Require Node module and immediately remove it from module cache to force loading again next time
A super-fast, promise-based cache that reads and writes to the file-system.
Apollo Server full query response cache
A simple in-memory file cache for gulp
Helpful autotracking utilities
Constructors cached from literals.
Inspired by Aaron Patterson's talk on the subject
When required, HTTPAutorec enables VCR (with WebMock) and all HTTP requests are cached in ./http_autorec_cache by default. You can temporarily enable it without modifying your code, like this: `ruby -rhttp_autorec your_script.rb`.
Adds the commonly required behaviour of caching web accessible versions of HTML emails to ActionMailer
Valvat_cache caches in a json file results of the VIES validation keeping it a couple of weeks
ActiveRecord adapter for NuoDB. Only for use with JRuby. Requires separate Cache JDBC driver.
Counter cache on steroids - requires a bit of configuration, but then simply saves counter data.
Cache your path to speed up require time
Utilities like caching, rate limiting, ... for usage in combination with the scrobbler gem. These will be not included in the main gem as they provide extra functionality that is not always required.
Always network clients require a connection pool, like database connection, cache connection and others. Generic connection pool can be used with anything. It is extracted from ActiveRecord ConnectionPool. Sharing a limited number of network connections among many threads. Connections are created delayed.
A simple file-system-based cache wrapper. The main method is 'with_cache( :cache_key=>'something_unique', :timeout_seconds=>(an integer) ){ (...) }' If the given cache key exists and has not timed out, it will return the cached value If not, it will * yield to the given block * store the result of the given block in the cache with the given key * return the result of the given block Required params: * :cache_key=>'some unique string that is valid in a filename' Optional params: * :timeout_seconds => (an integer - default 3600) * :cache_dir => (an absolute path - defaults to RAILS_ROOT/tmp/cache if RAILS_ROOT is defined, otherwise /tmp/cache ) Example usage: @stats_json = Itrigga::Cache::FileCache.with_cache(:cache_key=>'admin_stats.json', :timeout_seconds=>600){ /* some expensive remote API / slow IO call here /* }
The `gem deep_fetch` command works like `gem fetch` but it downloads all the gems required to satisfy the dependencies except the ones already available (ie in the cache).
A Logstash filter plugin for storing and retrieving data from redis cache. This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gem_name. This gem is not a stand-alone program.