Neuron-PHP

CacheConfig
in package

FinalYes

Cache configuration constants

Table of Contents

Constants

DEFAULT_TTL  : mixed = 3600
Default cache TTL (1 hour)
LONG_TTL  : mixed = 86400
Long cache TTL (24 hours)
REMEMBER_ME_TTL  : mixed = 2592000
Remember me TTL (30 days)
SESSION_TTL  : mixed = 1209600
Session TTL (2 weeks)
SHORT_TTL  : mixed = 300
Short cache TTL (5 minutes)

Methods

__construct()  : mixed

Constants

DEFAULT_TTL

Default cache TTL (1 hour)

public mixed DEFAULT_TTL = 3600

LONG_TTL

Long cache TTL (24 hours)

public mixed LONG_TTL = 86400

REMEMBER_ME_TTL

Remember me TTL (30 days)

public mixed REMEMBER_ME_TTL = 2592000

SESSION_TTL

Session TTL (2 weeks)

public mixed SESSION_TTL = 1209600

SHORT_TTL

Short cache TTL (5 minutes)

public mixed SHORT_TTL = 300

Methods

On this page

Search results