• Hi

    I’m using a 2cores and 2GB ram server with VNX hard drive (about 90GB/s bandwidth). I have a blog with about 4000 posts with no images. It tooks about 1hour to generate the whole site (with about 20 000 fetched pages, I don’t know how and why)

    Does using a cache plugin improve the generation process time?
    Is it better to have a big ram or a faster hard drive?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tlt

    (@tlt)

    Always waiting for this feature , otherwise I always have to regenerate my entire site for each added post

    Hi @tlt,

    I’m the author of WP2static.com, so have felt the pain on many large sites during testing/support.

    Whilst I’ve got some pretty big performance improvements in the latest dev build of mine here: https://github.com/leonstafford/wordpress-static-html-plugin/releases

    I’ve also found a lot of optimizations along the way.

    – Fast WP is always better, so do the obvious and get WP faster
    – nginx over Apache
    – php-fpm over php
    – increase the memory allocation in the PHP config, else it won’t take advantage of any extra memory you give the server

    Using the batch size and crawl increment numbers in my plugin squeezes out a tonne more performance, but I’ve got an idea to easily squeeze more out in a future release, this will only be when running from browser, not CRON/CLI, but I’ll start making 4 requests simultaneously from the browser to server, forcing more PHP threads. This will work in situations where I’ve upgraded a VPS to 16GB RAM and high CPU, but still can’t get any faster without scaling horizontally.

    If you have just one WP website you need to optimize, I can also recommend using the Twig templating, with it’s page/object caching. No experience with it myself, but have seen some amazing performance issues solved with it by others.

    Cheers,

    Leon

    I know Leon is working on this for his wp2static plugin so that only new or different content is generated. However, I can’t get his plugin to work on my site at all for a good generated static version. My site has a lot of javascript and external files. So far the best luck I’ve had is with Simply Static. What Simply Static generates at least has working sliders, content, etc. Just a few 4xx and 5xx errors to sort out. I have no idea why a WP to Static plugin is not in very high demand. WordPress is super bloated and the best user experience is static. Comments can be done via Disqus or Facebook where no PHP is required for the front end. Just doesn’t make sense to me how years later the WordPress community isn’t screaming for good static generator plugins or built-in functionality. Caching isn’t good enough.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how might I improve performance?’ is closed to new replies.