目前我正在使用Apache .htaccess将sub.domain.com/test/重定向到sub.domain.com/test/index.html(或.php),并在我的.htaccess文件中使用以下代码:

DirectoryIndex index.html index.php

但是,GTmetrix.com的性能测试告诉我:

要加快网站访问者的页面加载时间,请尽可能删除尽可能多的目标网页重定向,并尽可能使所有必需的重定向可缓存 . http://sub.domain.com/test是永久重定向到http://sub.domain.com/test

是否可以使此重定向可缓存?如果是这样,怎么样?