Index
A
- $ CacheNode#args — Property in class CacheNode
- MemcachedStorage::addServer() — Method in class MemcachedStorage
Adds a Memcached server to the connection pool.
B
- CacheExtension::beforeCompile() — Method in class CacheExtension
- BulkReader — Class in namespace Nette\Caching
Cache storage with bulk read support.
- BulkReader::bulkRead() — Method in class BulkReader
Reads from cache in bulk.
- BulkWriter — Class in namespace Nette\Caching
Cache storage with bulk write support.
- BulkWriter::bulkWrite() — Method in class BulkWriter
Writes to cache in bulk.
- BulkWriter::bulkRemove() — Method in class BulkWriter
Removes multiple items from cache.
- Cache::bulkLoad() — Method in class Cache
- Cache::bulkSave() — Method in class Cache
Stores multiple items in the cache at once.
- MemcachedStorage::bulkRead() — Method in class MemcachedStorage
Reads from cache in bulk.
- MemcachedStorage::bulkWrite() — Method in class MemcachedStorage
Writes to cache in bulk.
- MemcachedStorage::bulkRemove() — Method in class MemcachedStorage
Removes multiple items from cache.
- SQLiteStorage::bulkRead() — Method in class SQLiteStorage
Reads from cache in bulk.
C
- CacheExtension — Class in namespace Nette\Bridges\CacheDI
Cache extension for Nette DI.
- CacheExtension — Class in namespace Nette\Bridges\CacheLatte
Latte v3 extension providing the {cache} tag.
- CacheNode — Class in namespace Nette\Bridges\CacheLatte\Nodes
{cache} ... {/cache}
- $ CacheNode#content — Property in class CacheNode
- CacheNode::create() — Method in class CacheNode
- Runtime::createCache() — Method in class Runtime
Starts the output cache. Returns true if buffering was started.
- PsrCacheAdapter::clear() — Method in class PsrCacheAdapter
- Cache — Class in namespace Nette\Caching
Caching with namespace isolation, dependency tracking, and stampede prevention.
- Cache::clean() — Method in class Cache
Removes items from the cache by conditions:
- Cache::Priority => (int) removes items with equal or lower priority
- Cache::Tags => (array) removes items with matching tags
- Cache::All => true clears the entire cache
- Cache::call() — Method in class Cache
Calls a function and caches its result. Subsequent calls with the same arguments return the cached value.
- Cache::capture() — Method in class Cache
Starts output buffering for caching. Returns null and echoes cached content if already cached, or returns an OutputHelper to capture and save new output.
- Cache::checkCallbacks() — Method in class Cache
Validates all callback dependencies. Returns false if any callback returns false.
- Storage::clean() — Method in class Storage
Removes items from the cache by conditions.
- DevNullStorage::clean() — Method in class DevNullStorage
Removes items from the cache by conditions.
- FileStorage::clean() — Method in class FileStorage
- Journal::clean() — Method in class Journal
Cleans entries from journal.
- MemcachedStorage::clean() — Method in class MemcachedStorage
Removes items from the cache by conditions.
- MemoryStorage::clean() — Method in class MemoryStorage
Removes items from the cache by conditions.
- SQLiteJournal::clean() — Method in class SQLiteJournal
Cleans entries from journal.
- SQLiteStorage::clean() — Method in class SQLiteStorage
Removes items from the cache by conditions.
D
- PsrCacheAdapter::delete() — Method in class PsrCacheAdapter
- PsrCacheAdapter::deleteMultiple() — Method in class PsrCacheAdapter
- Cache::derive() — Method in class Cache
Returns a new cache object scoped to a sub-namespace.
- Dependencies — Class in namespace Nette\Caching
Cache dependencies configuration.
- $ OutputHelper#dependencies — Property in class OutputHelper
- DevNullStorage — Class in namespace Nette\Caching\Storages
No-op storage that discards all data. Useful for disabling caching.
E
- Runtime::end() — Method in class Runtime
Ends the output cache.
- OutputHelper::end() — Method in class OutputHelper
Stops output buffering and saves the captured output to the cache.
F
- FileStorage — Class in namespace Nette\Caching\Storages
Cache file storage.
G
- CacheExtension::getTags() — Method in class CacheExtension
- CacheExtension::getPasses() — Method in class CacheExtension
- CacheExtension::getProviders() — Method in class CacheExtension
- CacheExtension::getCacheKey() — Method in class CacheExtension
- CacheNode::getIterator() — Method in class CacheNode
- PsrCacheAdapter::get() — Method in class PsrCacheAdapter
- PsrCacheAdapter::getMultiple() — Method in class PsrCacheAdapter
- Cache::getStorage() — Method in class Cache
- Cache::getNamespace() — Method in class Cache
- Cache::generateKey() — Method in class Cache
Generates a namespaced storage key from a user-provided key.
- $ FileStorage#gcProbability — Property in class FileStorage
Probability (0-1) that the garbage collector runs on each instantiation.
- FileStorage::getCacheFile() — Method in class FileStorage
Returns the file path for a given cache key.
- MemcachedStorage::getConnection() — Method in class MemcachedStorage
H
- PsrCacheAdapter::has() — Method in class PsrCacheAdapter
I
- Runtime::initialize() — Method in class Runtime
- IBulkReader — Class in namespace Nette\Caching
- IStorage — Class in namespace Nette\Caching
- IJournal — Class in namespace Nette\Caching\Storages
- MemcachedStorage::isAvailable() — Method in class MemcachedStorage
J
- Journal — Class in namespace Nette\Caching\Storages
Cache journal provider.
L
- CacheExtension::loadConfiguration() — Method in class CacheExtension
- Cache::load() — Method in class Cache
Returns a cached item, or generates and stores it using the given callback.
- Storage::lock() — Method in class Storage
Prevents item reading and writing. Lock is released by write() or remove().
- DevNullStorage::lock() — Method in class DevNullStorage
Prevents item reading and writing. Lock is released by write() or remove().
- FileStorage::lock() — Method in class FileStorage
Prevents item reading and writing. Lock is released by write() or remove().
- MemcachedStorage::lock() — Method in class MemcachedStorage
Prevents item reading and writing. Lock is released by write() or remove().
- MemoryStorage::lock() — Method in class MemoryStorage
Prevents item reading and writing. Lock is released by write() or remove().
- SQLiteStorage::lock() — Method in class SQLiteStorage
Prevents item reading and writing. Lock is released by write() or remove().
M
- MemcachedStorage — Class in namespace Nette\Caching\Storages
Memcached storage using memcached extension.
- MemoryStorage — Class in namespace Nette\Caching\Storages
Memory cache storage.
O
- OutputHelper — Class in namespace Nette\Caching
Output caching helper.
P
- CacheNode::print() — Method in class CacheNode
- PsrCacheAdapter — Class in namespace Nette\Bridges\Psr
Adapts Nette Storage to the PSR-16 SimpleCache interface.
R
- Runtime — Class in namespace Nette\Bridges\CacheLatte
Runtime helpers for Latte v3.
- Runtime::rollback() — Method in class Runtime
Discards the buffered output without saving to the cache.
- Cache::remove() — Method in class Cache
- OutputHelper::rollback() — Method in class OutputHelper
Stops and throws away the output.
- Storage::read() — Method in class Storage
Reads item from the cache. Returns null if the item does not exist or has expired.
- Storage::remove() — Method in class Storage
Removes item from the cache.
- DevNullStorage::read() — Method in class DevNullStorage
Reads item from the cache. Returns null if the item does not exist or has expired.
- DevNullStorage::remove() — Method in class DevNullStorage
Removes item from the cache.
- FileStorage::read() — Method in class FileStorage
Reads item from the cache. Returns null if the item does not exist or has expired.
- FileStorage::remove() — Method in class FileStorage
Removes item from the cache.
- FileStorage::readMetaAndLock() — Method in class FileStorage
Opens and locks a cache file and reads its metadata.
- FileStorage::readData() — Method in class FileStorage
Reads cache data from disk and closes cache file handle.
- MemcachedStorage::read() — Method in class MemcachedStorage
Reads item from the cache. Returns null if the item does not exist or has expired.
- MemcachedStorage::remove() — Method in class MemcachedStorage
Removes item from the cache.
- MemoryStorage::read() — Method in class MemoryStorage
Reads item from the cache. Returns null if the item does not exist or has expired.
- MemoryStorage::remove() — Method in class MemoryStorage
Removes item from the cache.
- SQLiteStorage::read() — Method in class SQLiteStorage
Reads item from the cache. Returns null if the item does not exist or has expired.
- SQLiteStorage::remove() — Method in class SQLiteStorage
Removes item from the cache.
S
- PsrCacheAdapter::set() — Method in class PsrCacheAdapter
- PsrCacheAdapter::setMultiple() — Method in class PsrCacheAdapter
- Cache::save() — Method in class Cache
Stores item in the cache and returns it.
- Cache::start() — Method in class Cache
- Storage — Class in namespace Nette\Caching
Cache storage.
- SQLiteJournal — Class in namespace Nette\Caching\Storages
SQLite based journal.
- SQLiteStorage — Class in namespace Nette\Caching\Storages
SQLite storage.
W
- Cache::wrap() — Method in class Cache
Returns a cached wrapper around a function. Each unique set of arguments is cached separately.
- Storage::write() — Method in class Storage
Writes item into the cache.
- DevNullStorage::write() — Method in class DevNullStorage
Writes item into the cache.
- FileStorage::write() — Method in class FileStorage
- Journal::write() — Method in class Journal
Writes entry information into the journal.
- MemcachedStorage::write() — Method in class MemcachedStorage
Writes item into the cache.
- MemoryStorage::write() — Method in class MemoryStorage
Writes item into the cache.
- SQLiteJournal::write() — Method in class SQLiteJournal
Writes entry information into the journal.
- SQLiteStorage::write() — Method in class SQLiteStorage
Writes item into the cache.
_
- CacheExtension::__construct() — Method in class CacheExtension
- CacheExtension::__construct() — Method in class CacheExtension
- Runtime::__construct() — Method in class Runtime
- PsrCacheAdapter::__construct() — Method in class PsrCacheAdapter
- Cache::__construct() — Method in class Cache
- Dependencies::__construct() — Method in class Dependencies
- OutputHelper::__construct() — Method in class OutputHelper
- FileStorage::__construct() — Method in class FileStorage
- MemcachedStorage::__construct() — Method in class MemcachedStorage
- SQLiteJournal::__construct() — Method in class SQLiteJournal
- SQLiteStorage::__construct() — Method in class SQLiteStorage