replace hard-coded references to html cache file with proper define