Lines Matching refs:critical
57 const JSON_CRITICAL_PROPERTY = "critical";
99 * With a iife, if the javascript snippet is not critical
118 private bool $critical;
409 * @param $bool - if the snippet is critical, it would not be deferred or preloaded
412 * should not be set as critical as they are not needed to paint
415 * If a snippet is critical, it should not be deferred
418 * * all css are critical (except animation or background stylesheet)
419 * * all javascript are not critical
426 $this->critical = $bool;
518 if (isset($this->critical)) {
519 return $this->critical;
595 $critical = $array[self::JSON_CRITICAL_PROPERTY] ?? null;
596 if ($critical !== null) {
597 $snippet->setCritical($critical);
794 if (isset($this->critical)) {
795 $dataToSerialize[self::JSON_CRITICAL_PROPERTY] = $this->critical;
1024 $critical = $this->getCritical();
1025 if (!$critical) {
1067 $critical = $this->getCritical();
1068 if (!$critical && action_plugin_combo_docustom::isThemeSystemEnabled()) {