Should it work for views block shown on content page?

Created on 27 December 2023, 11 months ago
Updated 16 January 2024, 10 months ago

I created a views block display to be used on my home page. I tried to unset cache for the view and set a random seed of 10 sec.
My problem: the random order is only done once for ANONYMOUS users after clearing Drupal cache.
I have the following cache modules active:
- Internal Dynamic Page Cache
- Internal Page Cache

On the home page I have 5 other views blocks with cache enabled - theses should not regenerated on each page load!!

Should vieww random seed work for my block? Is my config wrong?

💬 Support request
Status

Closed: works as designed

Version

1.2

Component

Documentation

Created by

🇩🇪Germany vistree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vistree
  • Status changed to Closed: works as designed 10 months ago
  • 🇧🇪Belgium swentel

    Well, for anonymous users, the page caching is coming into play, which is why a new random order will only happen after a cache clear. The only way to more or less get around this, is probably some sort of (custom) ajax request which replaces that block for anonymous users, but that's completely out of scope for this module.

Production build 0.71.5 2024