added nocache middleware