• Resolved 3dmodelfree

    (@3dmodelfree)


    Hi
    please help me with this PHP constant
    SWCFPC_PRELOADER_MAX_POST_NUMBER, max pages to preload. Default: 1000
    and how could it be changeto like a value like 100,000?
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @3dmodelfree,
    The default of SWCFPC_PRELOADER_MAX_POST_NUMBER is 50 and not 1000. It was 1000 in an old version but the default has been changed to 50 from v4.3.5. Check the changelog.

    I will not suggest increasing that number from 50 as 50 preload URLs are in most cases good. If you increase that number more links will be preloaded via the plugin which uses cURL to hit the links and preload them. So many cURL request can quickly eat good amount of server resource. So, if you have server resource to spare feel free to increase it and test.

    You can easily overwrite the default SWCFPC_PRELOADER_MAX_POST_NUMBER by adding the constant in your wp-config.php file like this:

    
    define( 'SWCFPC_PRELOADER_MAX_POST_NUMBER', 100000 );
    
    Thread Starter 3dmodelfree

    (@3dmodelfree)

    you are great man, perfect support.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SWCFPC_PRELOADER_MAX_POST_NUMBER’ is closed to new replies.