Quote:
Originally Posted by hruday
Actually I have scanned my domain in gtmetrix. It shows www.abc.com is a permanent redirect to www.abc.com/xyz. So i need to cache these landing pages in order to decrease page loading time.
How can i cache redirects?
|
I still don't get what you're trying to do and how.
I don't think you can cache the redirection, but you can use the 301 response code to tell clients that it's a permanent redirect, so they don't cache the initial URL.
But I still suggest that you should change the DocumentRoot of your site and add /xyz to the end of the old one.