Demonstration code for article on caching paths