<?php
$yac = new Yac();
$yac->set("foo", "bar");
$other = new Yac("app2_");
$other->set("baz", "qux");
// flush empties the whole cache: entries of every instance,
// regardless of the prefix used when they were stored
$yac->flush();
var_dump($yac->get("foo")); // bool(false)
var_dump($other->get("baz")); // bool(false)
?>