🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 Queue.php

📁 Path: ./wp-content/plugins/wp-rocket/inc/Engine/Common/PerformanceHints/WarmUp/Queue.php
📊 Size: 721 B
🔒 Perm: 0644
📝 MIME: text/x-php
<?php
declare(strict_types=1);

namespace WP_Rocket\Engine\Common\PerformanceHints\WarmUp;

use WP_Rocket\Engine\Common\Queue\AbstractASQueue;

class Queue extends AbstractASQueue {
	/**
	 * PerformanceHints queue group
	 *
	 * @var string
	 */
	protected $group = 'rocket-performance-hints-warmup';

	/**
	 * Add an async job to warm up home links
	 *
	 * @return int
	 */
	public function add_job_warmup(): int {
		return $this->add_async( 'rocket_job_warmup' );
	}

	/**
	 * Add an async job to send URL to SaaS for warmup
	 *
	 * @param string $url URL to warm up.
	 *
	 * @return int
	 */
	public function add_job_warmup_url( string $url ): int {
		return $this->add_async( 'rocket_job_warmup_url', [ $url ] );
	}
}
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨