ri > Sass::CacheStores::Base

Sass::CacheStores::Base < Object

📚 An abstract base class for backends for the Sass cache. Any key-value store can act as such a backend; it just needs to implement the {#_store} and {#_retrieve} methods.

🔧 To use a cache store with Sass, use the {file:SASS_REFERENCE.md#cache_store-option :cache_store option}.

@abstract

🚀 Quick Reference

Use Case Command / Code Description
🔍 Implement a custom cache store class MyCacheStore < Sass::CacheStores::Base Subclass and implement _store and _retrieve
⚙️ Configure Sass to use a cache store Sass::Engine.new(scss, :cache_store => MyCacheStore.new) Pass the :cache_store option to the engine
📦 Use built-in cache store (e.g., filesystem) Sass::CacheStores::Filesystem.new Instantiate a concrete store and pass it as above

🔧 Instance Methods

Sass::CacheStores::Base
Sass::CacheStores::Base < Object 🚀 Quick Reference
🔧 Instance Methods

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-28 22:44 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format