removed unused code and updated the nocache value in examples page