Questions tagged [plugin-blitz]

Questions about the Blitz plugin.

Filter by
Sorted by
Tagged with
1
vote
1answer
59 views

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 ...
1
vote
1answer
231 views

400 bad request ("Unable to verify your data submission.") when Adding product to cart

When a user tries to add something into the cart the following error appears: 400 bad request ("Unable to verify your data submission.") 2021-02-23 09:08:42 [-][-][...
1
vote
1answer
57 views

Get image asset relative url

I'm using image transforms and getUrl() method to display an image. I'm using Blitz to export my site as a static website. My problem is that .html pages get cached with images that have full urls ...
3
votes
1answer
90 views

How to cache and serve different data to different users using Blitz?

What strategy should I take when I want to serve different data to different users with (Blitz) cache? Logged in users get one set of prices (that can vary depending on their price group memberships), ...
1
vote
2answers
75 views

Dynamic Blitz Template not loading currentUser

I have a Dynamic Blitz template with a currentUser if statement within it. For some reason, it's not working and I can't figure out why. It gets loaded in as follows: {{ craft.blitz.getTemplate('...
2
votes
1answer
107 views

Blitz Cache dynamic button

I have a Blitz Cache but the only bit of dynamic data on the page is a "Follow" button which changes depending on if you're following this entry. Looking at their docs, I don't see a way of ...