Optimize precache code for Filetype listing page, now 10x faster