Load currentUser using Sprig with Blitz I'm having an issue with Sprig + Blitz Caching. I'm trying to load a user image if currentUser exists, though I'm having an issue with the caching. Sprig is loading in the unregistered user photo when logged in. I'm unsure if it's setup right.
      {{ sprig('components/_componentUser', {}, {
        's-trigger': 'refresh, load'
      }) }}

Then in my _componentUser
  {% if currentUser %}
            &lt;li class=&quot;nav-item position-relative&quot;&gt;
                &lt;a class=&quot;nav-link py-3&quot; href=&quot;/account&quot; data-toggle=&quot;tooltip&quot; data-placement=&quot;bottom&quot; title=&quot;My Account&quot;&gt;
                  &lt;div class=&quot;account-circle&quot;&gt;
                        &lt;img src=&quot;{{ craft.gravatar.url(currentUser.email) }}&quot; width=&quot;34&quot; class=&quot;rounded-circle&quot;/&gt;
                  &lt;/div&gt;
                &lt;/a&gt;
            &lt;/li&gt;
            {% else %}
            &lt;li class=&quot;nav-item position-relative&quot;&gt;
                &lt;a class=&quot;nav-link&quot; href=&quot;/account&quot; data-toggle=&quot;tooltip&quot; data-placement=&quot;bottom&quot; title=&quot;My Account&quot;&gt;
                  &lt;div class=&quot;account-circle&quot;&gt;
                        &lt;span class=&quot;material-icons&quot; data-icon=&quot;account_circle&quot;&gt;&lt;/span&gt;
                  &lt;/div&gt;
                &lt;/a&gt;
            &lt;/li&gt;
  {% endif %}
Duplicate of https://github.com/putyourlightson/craft-sprig/issues/118
The code is correct and what you are experiencing is likely due to local browser caching.