When ever i save one entry, in my queue is can see that i wants to generate Blitz cache for all entries on all pages instead of just updating the one i saved.
Once i change this to "Clear the cache, regenerate manually or organically", then the issue is gone. But this is really not efficiant. Is it because this entry is referenced in the globals, which are used to build a navigation? If so, it should perhaps listen to changes like title/slug/id, as those can be referenced.
{
"debug": false,
"hintsEnabled": false,
"cachingEnabled": true,
"refreshCacheEnabled": true,
"refreshMode": 1,
"includedUriPatterns": [
{
"enabled": "1",
"siteId": "",
"uriPattern": ".*"
}
],
"excludedUriPatterns": [],
"cacheStorageType": "putyourlightson\\blitz\\drivers\\storage\\FileStorage",
"cacheStorageSettings": {
"folderPath": "@webroot\/cache\/blitz",
"compressCachedValues": "1"
},
"cacheStorageTypes": [],
"cacheGeneratorType": "putyourlightson\\blitz\\drivers\\generators\\HttpGenerator",
"cacheGeneratorSettings": {
"concurrency": "3",
"useBasicAuth": "",
"username": "",
"password": ""
},
"cacheGeneratorTypes": [],
"customSiteUris": [],
"cachePurgerType": "putyourlightson\\blitz\\drivers\\purgers\\DummyPurger",
"cachePurgerSettings": [],
"cachePurgerTypes": [],
"deployerType": "putyourlightson\\blitz\\drivers\\deployers\\DummyDeployer",
"deployerSettings": [],
"deployerTypes": [],
"ssiEnabled": false,
"ssiTagFormat": "<!--#include virtual=\"{uri}\" -->",
"detectSsiEnabled": true,
"esiEnabled": false,
"cachedIncludePathParam": "p",
"onlyCacheLowercaseUris": false,
"cacheActionRequests": false,
"queryStringCaching": 0,
"includedQueryStringParams": [
{
"enabled": "1",
"siteId": "",
"queryStringParam": ".*"
}
],
"excludedQueryStringParams": [
{
"enabled": "1",
"siteId": "",
"queryStringParam": "gclid"
},
{
"enabled": "1",
"siteId": "",
"queryStringParam": "fbclid"
}
],
"apiKey": "",
"generatePagesWithQueryStringParams": true,
"purgeAssetImagesWhenChanged": true,
"refreshCacheAutomaticallyForGlobals": true,
"refreshCacheWhenElementMovedInStructure": true,
"refreshCacheWhenElementSavedUnchanged": false,
"refreshCacheWhenElementSavedNotLive": false,
"refreshExpiredCacheAfterVisit": true,
"cacheNonHtmlResponses": false,
"trackElements": true,
"trackElementQueries": true,
"excludedTrackedElementQueryParams": [],
"cacheDuration": null,
"nonCacheableElementTypes": [],
"sourceIdAttributes": [],
"liveStatuses": [],
"integrations": [
"putyourlightson\\blitz\\drivers\\integrations\\CommerceIntegration",
"putyourlightson\\blitz\\drivers\\integrations\\DatastarIntegration",
"putyourlightson\\blitz\\drivers\\integrations\\SeomaticIntegration"
],
"defaultCacheControlHeader": "no-store",
"cacheControlHeader": "public, s-maxage=31536000, max-age=0",
"cacheControlHeaderExpired": "public, s-maxage=5, max-age=0",
"sendPoweredByHeader": true,
"outputComments": true,
"refreshCacheJobPriority": 10,
"driverJobBatchSize": 100,
"driverJobPriority": 100,
"queueJobTtr": 300,
"maxRetryAttempts": 10,
"maxUriLength": 2048,
"maxUriIndexLength": 767,
"mutexTimeout": 1,
"commands": [],
"injectScriptEvent": "DOMContentLoaded",
"injectScriptPosition": 3
}
Bug Report
When ever i save one entry, in my queue is can see that i wants to generate Blitz cache for all entries on all pages instead of just updating the one i saved.
Setting:
Clear the cache and regenerate in a queue job
Once i change this to "Clear the cache, regenerate manually or organically", then the issue is gone. But this is really not efficiant. Is it because this entry is referenced in the globals, which are used to build a navigation? If so, it should perhaps listen to changes like title/slug/id, as those can be referenced.
Diagnostics Report
Application Info
Installed Plugins
Loaded Modules
Blitz Plugin Settings
{ "debug": false, "hintsEnabled": false, "cachingEnabled": true, "refreshCacheEnabled": true, "refreshMode": 1, "includedUriPatterns": [ { "enabled": "1", "siteId": "", "uriPattern": ".*" } ], "excludedUriPatterns": [], "cacheStorageType": "putyourlightson\\blitz\\drivers\\storage\\FileStorage", "cacheStorageSettings": { "folderPath": "@webroot\/cache\/blitz", "compressCachedValues": "1" }, "cacheStorageTypes": [], "cacheGeneratorType": "putyourlightson\\blitz\\drivers\\generators\\HttpGenerator", "cacheGeneratorSettings": { "concurrency": "3", "useBasicAuth": "", "username": "", "password": "" }, "cacheGeneratorTypes": [], "customSiteUris": [], "cachePurgerType": "putyourlightson\\blitz\\drivers\\purgers\\DummyPurger", "cachePurgerSettings": [], "cachePurgerTypes": [], "deployerType": "putyourlightson\\blitz\\drivers\\deployers\\DummyDeployer", "deployerSettings": [], "deployerTypes": [], "ssiEnabled": false, "ssiTagFormat": "<!--#include virtual=\"{uri}\" -->", "detectSsiEnabled": true, "esiEnabled": false, "cachedIncludePathParam": "p", "onlyCacheLowercaseUris": false, "cacheActionRequests": false, "queryStringCaching": 0, "includedQueryStringParams": [ { "enabled": "1", "siteId": "", "queryStringParam": ".*" } ], "excludedQueryStringParams": [ { "enabled": "1", "siteId": "", "queryStringParam": "gclid" }, { "enabled": "1", "siteId": "", "queryStringParam": "fbclid" } ], "apiKey": "", "generatePagesWithQueryStringParams": true, "purgeAssetImagesWhenChanged": true, "refreshCacheAutomaticallyForGlobals": true, "refreshCacheWhenElementMovedInStructure": true, "refreshCacheWhenElementSavedUnchanged": false, "refreshCacheWhenElementSavedNotLive": false, "refreshExpiredCacheAfterVisit": true, "cacheNonHtmlResponses": false, "trackElements": true, "trackElementQueries": true, "excludedTrackedElementQueryParams": [], "cacheDuration": null, "nonCacheableElementTypes": [], "sourceIdAttributes": [], "liveStatuses": [], "integrations": [ "putyourlightson\\blitz\\drivers\\integrations\\CommerceIntegration", "putyourlightson\\blitz\\drivers\\integrations\\DatastarIntegration", "putyourlightson\\blitz\\drivers\\integrations\\SeomaticIntegration" ], "defaultCacheControlHeader": "no-store", "cacheControlHeader": "public, s-maxage=31536000, max-age=0", "cacheControlHeaderExpired": "public, s-maxage=5, max-age=0", "sendPoweredByHeader": true, "outputComments": true, "refreshCacheJobPriority": 10, "driverJobBatchSize": 100, "driverJobPriority": 100, "queueJobTtr": 300, "maxRetryAttempts": 10, "maxUriLength": 2048, "maxUriIndexLength": 767, "mutexTimeout": 1, "commands": [], "injectScriptEvent": "DOMContentLoaded", "injectScriptPosition": 3 }Recommendations
Site Tracking [1]
Site Tracking [2]