You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
via specific page classes or via an extension works for SilverStripe-StaticPublishQueue-Task-StaticCacheFullBuildTask, but not for jobs queued due to publishing specific pages. Eg. if you want to exclude a UserDefinedForm page from being cached, as soon as it is published it is still added to the queue.
The text was updated successfully, but these errors were encountered:
What I'm noticing in the latest version is that after you publish an excluded page, it does create a new generate static page job, but it contains no publishable urls. So it does not publish excluded page.
See this screenshot:
This still is a bug though -> the entire job should not be created.
Pages that were previously excluded (via urlsToCache) appear to be added back in to the full cache build job once a page has been edited and made live in the CMS. There then seems to be no way to remove the page again and it in turn creates a memory timeout as it results in passing null to str_replace.
[2024-04-17 15:52:47][INFO] [1;31mERROR [Deprecated]: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
IN GET dev/tasks/ProcessJobQueueTask
[0m[31mLine 121 in /Users/ebraunelwert/Sites/nzmgaSS4/vendor/silverstripe/staticpublishqueue/src/Publisher.php
Setting up
via specific page classes or via an extension works for SilverStripe-StaticPublishQueue-Task-StaticCacheFullBuildTask, but not for jobs queued due to publishing specific pages. Eg. if you want to exclude a UserDefinedForm page from being cached, as soon as it is published it is still added to the queue.
The text was updated successfully, but these errors were encountered: