Hi there,
I’m struggling to create a page that loads a single, random image + caption from a collection each time a page loads. Our developers used a VeloCode solution that didn’t fully work: there was always a 1+ second flash of an initial image + caption on the screen, followed by the final pair loading. The flashing is disconcerting mainly because you can clearly see pair A, then it switches to pair B.
I’ve tried many different code iterations, and even consulted a second developer who says, “appears is a standard behavior of dynamic web pages (Client-Side Rendering)”
I tried one more solution that appears to work, but that I have questions about: I removed all Velocode from the page and only had it linking to the dataset directly, with the dataset set to Random Order. Then I disabled caching for the page. In terms of the image loading, it works just as required now. But here’s my question: For a page that only contains a single image plus a small logo graphic, how problematic is it to disable caching for the pages?
We are not showing the photos on mobile.
I appreciate any insight from the community!
Don