"On demand" caching that kicks in only when requests arrive simultaneously.
Reset V8's date cache on demand
Express middleware providing on-demand caching in high traffic situations.
Svelte stale while revalidate (SWR) data fetching strategy
A cache object that deletes the least-recently-used items.
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Intuitive magical memoization library with Proxy and WeakMap
Require hook for automatic V8 compile cache persistence
Next.js self-hosting simplified.
Require hook for automatic V8 compile cache persistence
A simple key/value storage using files to persist the data
walk paths fast and efficiently
A simple zero-configuration command-line http server
The time-based use-recency-unaware cousin of [`lru-cache`](http://npm.im/lru-cache)
Infer the owner of a path based on the owner of its nearest existing parent
Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies
[](https://www.npmjs.com/package/@aws-sdk/endpoint-cache) [](https://www.npmjs.com/package/@aws-sdk/e
No description provided.
TypeScript utilities for interacting with Netlify Functions
A Vite plugin that takes the CSS and adds it to the page through the JS. For those who want a single JS file.
A generational pseudo-LRU cache with strict maximum size limits.
(vue3.0) 🎨 Vue Color Pickers for Sketch, Photoshop, Chrome & more
A super-fast, promise-based cache that reads and writes to the file-system.
Memoize/cache function results
An add-on to paperclip that allows for on-demand, cached thumbnail creation
Currency conversion using the European Central Bank's foreign exchange rates. Rates for the last 90 days are fetched and cached on demand. All calculations are performed and returned as BigDecimal.
This gem defines PodCSV and PodArray which are available to cache and parse data on-demand. These are useful when you need to read a big CSV file (around thousand records) but use very small part of it.
This is a basic HTTP Live Streaming (HLS) server written in Ruby using the Rack interface. It serves MP3 audio files by converting them on-the-fly into HLS format (M3U8 playlist and MP3 segment files) using `ffmpeg`. Converted files are cached for subsequent requests. This server is designed for simplicity and primarily targets Video on Demand (VOD) scenarios where you want to stream existing MP3 files via HLS without pre-converting them.
Mainly the product of messing around, this gem comprises Ruby code for a few useful "Amazon Hacks" -- common techniques for manipulating Amazon product URLs and Images. This is mainly useful if you find yourself creating a site where you might link to Amazon product pages and display images for them. Examples of this might include: * Social consumption sites like {All Consuming}[http://www.allconsuming.net/] * Blogs or tumbleblogs with book/music/etc. reviews * Normalizing Amazon links or create associate IDs This GEM is NOT related to using the Amazon Web Services and there is already an excellent gem for that if you need more heavy-duty use of the Amazon website (this gem does not even communicate with Amazon at all). Also, note this gem is meant in the spirit of fun hackery. You can use it to create interesting images from Amazon on demand, but if you are going to use it on a serious website, please consider caching and attributing that image to Amazon (I also have no idea what the official legal policy for using Amazon's book images is). And of course, do not even consider using this for fraud. It is possible to generate "20% off" or "Look Inside!" badges on Amazon images, but this gem does not support that since I can not think of any reason why outside sites would use that. == FEATURES/PROBLEMS:
pikuri-vectordb gives a pikuri-core agent a +vectordb_search+ tool over a local document corpus — agentic search, the agent decides when to retrieve. Ships a swappable backend (a pure-Ruby +Backend::InMemory+ for teaching, plus thin +Backend::Qdrant+ / +Backend::Chroma+ HTTP clients for persistence — Qdrant recommended), a chunker, an embedder wrapper over +RubyLLM.embed+, and an optional +Reranker::LlamaServer+ that speaks +/v1/rerank+ against a cross-encoder model. Text extraction goes through +Pikuri::FileType.read_as_text+ in pikuri-core, which handles plain text / Markdown / PDF; HTML extraction is a deferred follow-up. Hosts wire the feature via +c.add_extension Pikuri::VectorDb::Extension.new(...)+ inside the +Agent.new+ block — same opt-in shape as +pikuri-tasks+ / +pikuri-skills+. The bundled +Pikuri::VectorDb::LIBRARIAN+ persona is the privilege-separated sub-agent counterpart for hosts that want recall to flow through a child rather than the parent's context. Three model endpoints in the full setup — chat (via ruby_llm), an embedder (via +RubyLLM.embed+), and an optional reranker (HTTP +/v1/rerank+). A single +llama-server+ in router mode serves all three by default, loading each cached GGUF on demand; see the gem's README for details.