[BlueOnyx:26467] Re: PHP speed
In general, if you use a cache plugin like W3, then the php speed will not affect the page load time. Ken Marcus Precision Web Hosting, LLC On Mon, Sep 11, 2023 at 4:45 AM Colin Jack via Blueonyx < blueonyx@mail.blueonyx.it> wrote: > Good morning, > > We are getting customers complaining that their sites are slow on our > 5209R and 5210R servers. > These are mainly WP sites and we always set suPHP. > > Quick question – is it suPHP slowing it down and maybe we should use PHP > (DSO) + mod_ruid2 or FPM? > Any other suggestions to improve WP sites would be welcome. > > Thanks > > Colin > > > ___ > Blueonyx mailing list > Blueonyx@mail.blueonyx.it > http://mail.blueonyx.it/mailman/listinfo/blueonyx > ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
[BlueOnyx:26466] Re: Nginx config.
Hi Michael, > If this is on a BlueOnyx, then I'd stick those options into a new config > file located in the directory /etc/nginx/default.d > Just make sure its name ends with *.conf > Then restart Nginx and see if it works for you. Thanks - sounds spot on. This is on 5209R. Kind regards Colin ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
[BlueOnyx:26465] Re: Nginx config.
Hi Colin, I am using Nginx and Cloudflare for one of my own sites. I am not happy with the load speed and want to check my settings. This is the Cloudflare instructions but I cannot see where to add them. 5209R Super Page Cache for Cloudflare - Nginx Settings Browser caching rules Open the configuration file of your domain and add the following rules: location ~* \.(xml|xsl)$ { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location /robots.txt { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location /wp-cron.php { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location = /wp-content/wp-cloudflare-super-page-cache/www.whitehands.uk/debug.log { access_log off; deny all; } Save and restart Nginx. All the nginx conf files I can find say don't edit them. Are there separate config files per site? If this is on a BlueOnyx, then I'd stick those options into a new config file located in the directory /etc/nginx/default.d Just make sure its name ends with *.conf Then restart Nginx and see if it works for you. -- With best regards Michael Stauber ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
[BlueOnyx:26464] Nginx config.
Please bear with me - this is unknown territory for me! I am using Nginx and Cloudflare for one of my own sites. I am not happy with the load speed and want to check my settings. This is the Cloudflare instructions but I cannot see where to add them. 5209R Super Page Cache for Cloudflare - Nginx Settings Browser caching rules Open the configuration file of your domain and add the following rules: location ~* \.(xml|xsl)$ { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location /robots.txt { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location /wp-cron.php { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location = /wp-content/wp-cloudflare-super-page-cache/www.whitehands.uk/debug.log { access_log off; deny all; } Save and restart Nginx. All the nginx conf files I can find say don't edit them. Are there separate config files per site? Guidance please. Thanks Colin ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
[BlueOnyx:26463] Re: PHP speed
Hi Chris suPHP can be pretty slow. PHP-FPM is the way to go, IMO, as it offers the security features and ability to choose between PHP versions (assuming you've got the Solarspeed pkg for that) and performance. Move the sites to PHP-FPM and see if that quells the complaints. Thanks. I will try that. Regards Colin ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
[BlueOnyx:26462] Re: PHP speed
On 9/11/23 6:39 AM, Colin Jack via Blueonyx wrote: Good morning, We are getting customers complaining that their sites are slow on our 5209R and 5210R servers. These are mainly WP sites and we always set suPHP. Quick question – is it suPHP slowing it down and maybe we should use PHP (DSO) + mod_ruid2 or FPM? Any other suggestions to improve WP sites would be welcome. suPHP can be pretty slow. PHP-FPM is the way to go, IMO, as it offers the security features and ability to choose between PHP versions (assuming you've got the Solarspeed pkg for that) and performance. Move the sites to PHP-FPM and see if that quells the complaints. -- Chris Gebhardt VIRTBIZ Internet Services Access, Web Hosting, Colocation, Dedicated www.virtbiz.com | toll-free (866) 4 VIRTBIZ ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
[BlueOnyx:26461] PHP speed
Good morning, We are getting customers complaining that their sites are slow on our 5209R and 5210R servers. These are mainly WP sites and we always set suPHP. Quick question – is it suPHP slowing it down and maybe we should use PHP (DSO) + mod_ruid2 or FPM? Any other suggestions to improve WP sites would be welcome. Thanks Colin ___ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx