Used cache for inline examples

Resolved #8