Something keeps bugging me, I get a ‘B’ in the ‘Cache static content’ category and according to the results it is because I am not caching the ‘root’ of the entire website.
There used to be lots more stuff not cached, but after fiddling I went from a ‘D’ to my current ‘B’. But, the only problem is that I am not caching the domain name itself, not any particular file.
Is there some form of addition I need to make in my .htaccess to get it to cache the ‘root’ of the site.
You cannot cache a domain name per se. It needs to be caching the page that the server directs to for the root, usually something like index.php, index.asp or index.htm
Ok, now to figure out which page that would be in Wordpress. Funny enough I have a good caching plugin, would have assumed it would have done that as part of its voodoo!
Depending on how dynamic your site is you might not want to cache the base page - it is getting flagged by WebPagetest because there aren’t any headers that explicitly say NOT to cache it (pragma: no-cache for example or an expires in the past).