Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    A cache preload would be possible, but if you have a small server and a large site, it would cause your server to be overloaded as it tried to regenerate every single page continuously.

    You can however trigger a preload with wget on your server, but this would be on the server side, nothing to do with wordpress. You could run it manually as well.

    Something like this for example:

    cd /tmp && wget --header="Accept: text/html" --user-agent="My Server Preloader" --reject-regex '(.*)\?(.*)' --reject '*.js,*.css,*.ico,*.txt,*.gif,*.jpg,*.jpeg,*.png,*.webp,*.svg,*.mp3,*.pdf,*.tgz,*.flv,*.avi,*.mp4' --ignore-tags=img,link,script -mirror --no-host-directories -e robots=off --continue --span-hosts --domains example.com --delete-after https://example.com/

Viewing 1 replies (of 1 total)
  • The topic ‘Add “Cache warmer”’ is closed to new replies.