Whats are fastest wordpress options ?

Discussion in 'General' started by ozgurerdogan, May 8, 2020.

  1. ozgurerdogan

    ozgurerdogan Member

    I need to faster wordpress site. So can you please tel me my option like web server type, caching options please? Should I consider nxginx?
     
  2. nhybgtvfr

    nhybgtvfr Active Member

    nginx is faster for static content. nginx and apache are on par for dynamic content these days, especially if using php-fpm on apache.

    for faster wordpress, if you have the cpu/ram, keep MySQL databases on the webserver.
    use php-fpm. for apache, switch from mpm_prefork to mpm_worker or mpm_event
    use php7.4
    caching options -- use all of them... object cache to store db queries. page caching so that the page doesn't need to be recreated.
    opcode caching, so that the php code doesn't need to be recompiled each time it's called.
    use a cdn.
    use less wordpress plugins. stop plugins being loaded in on every page if they don't need it, ie the code for a contact form plugin doesn't need to be called in on every page, only those that include the form. (requires manual editing, unless the developer changes the code, will need re-applying after every plugin update.) more code = more processing = longer load times. ;)

    not exactly worpress related, but effective on EVERY website:
    user more cpu's, with more cores, add more ram. use ssd's instead of normal hard drives. use nvme ssd's instead of normal ssd's
     
    ozgurerdogan likes this.
  3. ozgurerdogan

    ozgurerdogan Member

    Thank you. I wish it could be possible to switch to nginx from apache from an existing os or even openlitepseed.
     
  4. nhybgtvfr

    nhybgtvfr Active Member

    you can, reconfigure apache and all existing vhosts to use different ports. install and configure nginx.
    create all your required vhost confs in nginx, those within ispconfig can be done with a resync after reconfiguring services.
    remove apache, or configure nginx as a reverse proxy in front of apache.
    switching to nginx, you'd have to rerun the ispconfig update to reconfigure services.

    also wordpress requires lots of additions to the nginx vhost config.
    and wordpress is dynamic, you're not gonna see much in the way of speed increases, at least not unless you manage to get pretty much every visitor request served up as a static full page from the cache.

    openlitespeed isn't an option, ispconfig doesn't support it.
     
  5. ozgurerdogan

    ozgurerdogan Member

    Ok I will stay with apache and do others. Thank you very much.
     

Share This Page