• Resolved pinoooo

    (@pinoooo)


    Is it correct that preheating stops after exactly 200 URLs?
    Is it possible that I adjust this to an unlimited number?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitar Petrov

    (@demiro)

    Hey @pinoooo,

    The default value of the URLs is 200, but you can modify that using the following filter:

    add_filter( 'sg_file_caching_preheat_url_limit', 'sgo_preheat_limit' );
    function sgo_preheat_limit( $xml_urls ) {
        // Define custom limit for XML URL preheat.
        $xml_urls = 300;
        return $xml_urls;
    }

    The code should be added to the theme’s functions.php file.

    Best Regards,
    Dimitar Petrov

    Thread Starter pinoooo

    (@pinoooo)

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Preheat stops after 200 URLs?’ is closed to new replies.