Don't use factoid / annotation caches for preview mode (i.e. index.php); the caches only get rebuilt by the generator process, and we don't need the performance increase for viewing individual pages.

It would probably be better to only switch use_pointer_cache to true around where we actually rebuild the cache.