To flush the entry with key="foobar":
<mypfx:flush key="foobar">
To flush the entire cache:
<% if (session != null && session.getAttribute("clearCache") != null) { %> <mypfx:flush > <% } %>