Skip to main content

Questions tagged [plugin-blitz]

Questions about the Blitz plugin.

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

Importing entries with FeedMe (pagination) and using Blitz, triggers a full Blitz refresh, not only the changed entries being updated

Craft Pro: 4.11.5 Blitz: 4.23.0 Feed Me: 5.7.0 When the FeedMe import/update runs, and page 1 is finished, all the Blitz cached entries (for the secified section) are being refreshed. Not only the ...
Jan's user avatar
  • 11
1 vote
1 answer
45 views

Blitz cache and user fields

We use user accounts with custom fields in the control panel to allow our staff create and edit a front-end staff profile. We have over 1000 users who do this regularly. The issue I have with blitz ...
bhackett's user avatar
  • 171
1 vote
1 answer
55 views

Blitz cache randomly deleting

I run blitz cache with the "clear cache regenerate manually or organically setting". We have a big site with over 7000 entries, and this works best as the entire site can be cached and it's ...
bhackett's user avatar
  • 171
1 vote
1 answer
50 views

Ajax call returns 400 error after enable Blitz cache

I'm not sure if this happens due to the Blitz cache. In Craft CMS 5: In the head: <meta name="csrf-token" content="{{ craft.app.request.getCsrfToken() }}"> <meta name=&...
user3086053's user avatar
0 votes
0 answers
44 views

Add to cart via Ajax (sometimes) results in abandoned carts and invalid CSRF

In Craft Commerce, I am using the Blitz Cache plugin. My "add to cart"-button uses ajax to add the product to the cart. This is the twig-code for the form: <form method="post" ...
nitech's user avatar
  • 679
1 vote
2 answers
644 views

Blitz not updating cache on multi-sites

I have been using Blitz caching on a Craft (v3.759) site and it is working well. I recently added a second site using Craft's multisite capability. This second site uses a different domain and I have ...
Jack McKenzie's user avatar
0 votes
1 answer
502 views

Blitz: Exclude URL with specific query parameters

I have a blog listing page, which I would like to cache using Blitz. However, when a user searches the blog (/blog?search=something) I'd like to load the un-cached version. I'm using server rewrite to ...
Matanya's user avatar
  • 492
2 votes
1 answer
189 views

Dynamic entries?

My website features music releases. On the homepage, it shows the current week of releases. It also offers the ability to go back to previous weeks and see the releases e.g. mysite.com/new-releases/05-...
fxfuture's user avatar
  • 279
1 vote
1 answer
408 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 ...
JMKelley's user avatar
  • 1,446
2 votes
1 answer
2k 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 [-][-][...
KSPR's user avatar
  • 3,788
1 vote
1 answer
716 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 ...
gkpo's user avatar
  • 123
3 votes
1 answer
544 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), ...
nitech's user avatar
  • 679
1 vote
2 answers
259 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('...
JMKelley's user avatar
  • 1,446
2 votes
1 answer
610 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 ...
JMKelley's user avatar
  • 1,446