Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793296
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
README.md
View Options
#
keruald
/
cache
This
library
offers
a
simple
layer
of
abstraction
for
cache
operations
,
with
concrete
implementations
.
This
cache
implementation
is
compatible
with
PSR
-
16
.
This
cache
implementation
is
NOT
compatible
with
PSR
-
6
.
##
Configuration
To
get
a
cache
instance
,
you
need
to
pass
configuration
as
an
array
.
The
properties
and
values
depend
on
the
engine
you
want
to
use
.
###
Memcached
|
Key
|
Value
|
Default
|
|---------------|--------------------------------|:------------|
|
engine
|
MemcachedCache
class
reference
|
|
|
server
|
The
memcached
hostname
|
"localhost"
|
|
port
|
The
memcached
port
|
11211
|
|
sasl_username
|
The
SASL
username
|
|
|
sasl_password
|
The
SASL
password
|
""
|
###
Redis
|
Key
|
Value
|
Default
|
|----------|--------------------------------|:------------|
|
engine
|
MemcachedCache
class
reference
|
|
|
server
|
The
memcached
hostname
|
"localhost"
|
|
port
|
The
memcached
port
|
6379
|
|
database
|
The
redis
database
number
|
0
|
###
Void
This
cache
allows
unit
tests
or
to
offer
a
default
cache
,
when
no
other
configuration
is
offered
.
|
Key
|
Value
|
|------------|---------------------------|
|
engine
|
VoidCache
class
reference
|
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 28, 21:45 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2438977
Default Alt Text
README.md (1 KB)
Attached To
Mode
rKC Keruald Cache
Attached
Detach File
Event Timeline
Log In to Comment