Control Web Panel

WebPanel => How to => Topic started by: Carbonzxc on September 15, 2016, 07:44:42 AM

Title: How to Optimize CWP (Collecting Ideas)
Post by: Carbonzxc on September 15, 2016, 07:44:42 AM
Hello,

Ive got a forum with daily 5k-6k pageviews and im using CWP as a web panel with Nginx. How can i make it faster ? Gzip is enabled any other ideas ? (worker processes etc. done too (for nginx)). Thanks !
Title: Re: How to Optimize CWP (Collecting Ideas)
Post by: MyBuddyBen on September 15, 2016, 01:57:17 PM
Depending on the forum software, you could easily use a CDN to optimize for speed.

Xenforo - https://www.keycdn.com/blog/speed-up-xenforo/

I highly suggest using Cloudflare. It will greatly reduce your DNS loading time, as well as, serve as a free CDN for static files like JS, CSS, and images.

Also use PHP 7 if at all possible. It speeds up execution a lot!
Upgrade from Mysql 5 to MariaDB 10 is a way to speed up mysql queries.
Title: Re: How to Optimize CWP (Collecting Ideas)
Post by: Carbonzxc on September 15, 2016, 02:33:00 PM
Depending on the forum software, you could easily use a CDN to optimize for speed.

Xenforo - https://www.keycdn.com/blog/speed-up-xenforo/

I highly suggest using Cloudflare. It will greatly reduce your DNS loading time, as well as, serve as a free CDN for static files like JS, CSS, and images.

Also use PHP 7 if at all possible. It speeds up execution a lot!
Upgrade from Mysql 5 to MariaDB 10 is a way to speed up mysql queries.

hello thnx for reply,

im using mybb for forum software, im used cloudflare but it makes problems with my ssl so im changed nameservers again to my host. also at mybb many plugins not supporting php 7 yet so im using 5.6. and yeah im using mariadb as a database
Title: Re: How to Optimize CWP (Collecting Ideas)
Post by: Administrator on September 20, 2016, 01:26:20 PM
depends what is the slowest part when opening your site...maybe moving site into ram or by enabling varnish cache.
Title: Re: How to Optimize CWP (Collecting Ideas)
Post by: Darkroom on September 21, 2016, 08:40:52 PM
With varnish you can set the cash file to work out of ram with a malloc statement. You do have to do some rule writing research to strip user agents and cookies so you don't end up caching multiple copies of the same thing. Varnish is actually super flexible and pretty awesome but you do need to learn how to use it. Just installing it without customizing the rules to your needs won't yield much benefit.