FrontCache

class Nos\FrontCache

Manage front cache

Methods

static Nos\FrontCache::callHmvcUncached($uri, $args = array())

Write a HMVC call in cache for after cache execution.

Parameters:
  • $uri (string) – Route for the request.
  • $args (array) – The method parameters.

See also

Nos\Nos::hmvc

static Nos\FrontCache::viewForgeUncached($file = null, $data = null, $auto_filter = null)

Write a View forge in cache for after cache execution.

Parameters:
  • $file (string) – The view filename
  • $data (array) – Array of values
  • $auto_filter (boolean) – Set to true or false to set auto encoding