putyourlightson / craft-blitz

Intelligent static page caching for creating lightning-fast sites with Craft CMS.
https://putyourlightson.com/plugins/blitz
Other
149 stars 37 forks source link

Generating blitz cache for unwanted pages #684

Closed Brijeshgrg1999 closed 1 month ago

Brijeshgrg1999 commented 1 month ago

Bug Report

Hi I am new to this plugin and I really appreciates its features but after playing around i have a few questions and concerns.

but the weird part is why am i getting this many queue here :

Screenshot 2024-07-10 at 1 59 50 PM

am i doing some thing wrong in the blitz.php file ? I just wanna refresh the cache those are updated not the whole site or entries . please help

Diagnostics Report

Screenshot 2024-07-10 at 2 01 16 PM
bencroker commented 1 month ago

It looks like your site is not well optimised in terms of element queries, as Blitz is having to keep track of 7,733 entry queries. Please read through the common issues section of the docs, in particular “The refresh cache queue jobs run for long periods of time and sometimes pile up”.

Are you running a recent version of Blitz? I see that the refresh modes you showed above are not aligned. Can you please submit a diagnostics report in markdown that you can generate from the Blitz Diagnostics utility?

bencroker commented 1 month ago

I can, but I first need you to submit a diagnostics report in markdown that you can generate from the Blitz Diagnostics utility.

screenshot-00j9Kojv@2x

bencroker commented 1 month ago

Any update on this, @Brijeshgrg1999 ?

Brijeshgrg1999 commented 1 month ago

Hi @bencroker , currently its generating cache normally , where previously I had quite a lot of unnecessary tracked elements and queries it was creating cache all the time. right now everything is working fine Thank you

bencroker commented 1 month ago

Glad to hear it!