Neuron-PHP

ViewCacheMissEvent
in package
implements IEvent

Event fired when a view must be rendered because no cache exists.

This event is triggered when the view caching system does not find a cached version of the requested view, requiring a full render.

Use cases:

  • Monitor cache miss rates and efficiency
  • Identify pages that should be cached but aren't
  • Track cold cache scenarios after deployment or cache clear
  • Measure rendering performance on cache misses
  • Optimize cache warming strategies
  • Debug cache key generation and TTL issues

Table of Contents

Interfaces

IEvent
Core event interface for the Neuron event system.

Properties

$cacheKey  : string
$controller  : string
$page  : string

Methods

__construct()  : mixed
getName()  : string

Properties

Methods

__construct()

public __construct(string $controller, string $page, string $cacheKey) : mixed
Parameters
$controller : string

Controller name

$page : string

Page/view name

$cacheKey : string

Cache key that was not found


        
On this page

Search results