#6725 Don't cache if slideshow is random.
#6725: Commit the right thing this time.
Merge pull request #6728 from openscholar/6725-random_slideshow

Fix caching when random is enabled.