In subsite mode, generate the main site into cache subdirectory too.