fix bug that css files should not be treated as cached file as well as js