• Resolved fkoomek

    (@fkoomek)


    Hello.

    I have a problem with preload function. Since the amount of pages on my site grew up to about 2000, the preload gets stuck everytime around 1000th page. It’s like it gets into some sort of loop and my server (shared hosting) starts to be exhausted with requests. A guy from support said it executes admin-ajax again and again. I can’t load my site then for about 3 hours fór example. I have to wait till the process stops. Do you have any idea what’s going on? Thanks.

    Radan

Viewing 1 replies (of 1 total)
  • Plugin Support vupdraft

    (@vupdraft)

    There are several filters that should allow you to throttle your preload;


    – Using?add_filter(‘wpoptimize_preload_delay’, ‘my_preload_delay_method’), you can override the delay between two pages, which is currently set at?500000?(1/2 a second).

    – Using add_filter(‘wpo_page_cache_preload_memory_threshold’, 10485760);
    That filter lets you change how much memory should be left before interrupting the preload queue (10MB by default).

    – Using add_filter(‘wpo_page_cache_preload_continue_interval’, 600);
    This filter enables to change the time before the preload resumes when interrupted (600s by Default).

    There are several parameters you can play with:
    – Using add_filter(‘wpoptimize_preload_delay’, ‘my_preload_delay_method’), you can override the delay between two pages, which is currently set at 500000 (1/2 a second).

    – Using add_filter(‘wpo_page_cache_preload_memory_threshold’, 10485760);
    That filter lets you change how much memory should be left before interrupting the preload queue (10MB by default).

    – Using add_filter(‘wpo_page_cache_preload_continue_interval’, 600);
    This filter enables to change the time before the preload resumes when interrupted (600s by Default).

Viewing 1 replies (of 1 total)
  • The topic ‘Preload – stuck’ is closed to new replies.