Discuz forum doubles speed! 5 tools, 20 step nanny-level optimization course (with seo techniques)
Step 1: why is your discuz forum general cardon
Recently, three discuz forums were optimized, with an average load time reduced from 4. 2 to 1. 8 seconds. 90% of the cardon problem was detected in three locations:
1 ️⃣ activate discuz x3. 5 (old version incompatible)
2 image* resource uncompressed (single image recommended to be compressed to 50kb)
3 ️⃣ cache mechanism is not set properly (the error setting leads to duplicate rendering)
List of recommended tools (in order of priority):
Cloudflare
Aliyun cdn
Tengxun cloud
Tinypng (photo compression)
W3 total cache (cache optimization)
360 surveillance (real time speed measurement)
Step 2:20-step hypervelocity optimization process (personally effective)
Step 2. 1 basic configuration optimization (15 minutes)
1 ️⃣ enable discuz x3. 5 performance mode
2 amend config. Php:
``php '
Define('caching', true); //compelling the cache
Define ('cache life', 3600); //cache 60 minutes
````
3 ️⃣ prefix to database table (e. G. `mydb `)
️⃣ enable gzip compression (mod gzip to be installed)
Step 2. 2 photo resources processing (key steps)
1 all station images added laziness:
```HTML
````
2 ️⃣ batch compression using tinypng (recommended settings 80% mass)
3 image rename rule:
Timetamp
Other organiser
(e. G. 1528376400 heads. Jpg)
Step 2. 3 cdn configuration guide (required!)
1-claudflare registration (free version sufficient)
2 ️⃣ dns settings (cname records added)
3 ️⃣ enable "brotli compression" and "http/2 protocol"
4 ️⃣ configure cache rules:
- css/js file cache for 30 days
- picture file 7 days
- dynamic page cache for 1 hour
Step 2. 4 performance monitoring and testing (continuous optimization)
1 daily google pagespeed insights
2 x 360 (free version of 5 pages)
3 monthly stress tests (recommended jmeter)
4. Regular clean-up of invalid caches:
```bash '
Php admin/cron. Php clean cache
````
Step 3: seo optimizes the gold mix
Seo optimizes four cores:
1 layout technique:
- discuz forum + speed optimization + seo optimization
-url: use short-wire separation (/discuz-seo-optimization/)
2 intra-chain optimization programmes:
- on the front page of the forum, add the entry to the optimization guide
- inserting three to five related inner chains in each fine post
- 404 page reoriented to optimisation. Cheng
3-extralink strategy:
- participation in the discuz official forum
- publication of optimisation cases at csdn/ know-how
- purchase of high-quality out-chains (annual budget of $500 to $1,000)
️⃣ mobile-end optimization:
- enable discuz to adapt
- picture size uniform at 750 px width
- compression of movement-end css to 30kb
Step 4: solutions to common problems
Q1: the speed of access slows when cdn is enabled
Check if the browser cache is on
• confirm the distance between the cdn node and the user (prefer continental node)
Q2: what if it doesn't work
Check to add `data-src ' properties
Confirm the resource path of the cdn
Q3: lost forum after cache clearing
Check for complete database backup
Confirm cache clearing command is correct
Comparison of measured data (before and after optimization):
| indicator | pre-optimization | optimization
| - - | | | |
| first screen loading time | 4. 2s | 1. 8s |
Rate of withdrawal 45% 28%
| seo ranking | p. 8 p. 1
Day pv 1200 3,800
Progressive skills:
1 ️⃣ compression using brotli (30% higher than gzip compression)
2 ️⃣ enable discuz to "show"
3 regular clean-up of database redundant data (weekly implementation)
4 ️⃣ ban low value climbing in robots. Txt page noodles
Note:
1 pre-optimization backup database (recommended with dbabackup)
2 ️⃣ backup every update plugin
3 critical configuration modified to implement `flush cache() '
4 ️⃣ pressure testing recommended before important nodes change
Free resource pack:
This post is part of our special coverage syria protests 2011
1 20 seos optimized long endings
2 x 50 discuz * plugins recommended
3 scenarios for 3 scenarios
4 ariyun/intelligence cdn filing guide
Optimized effects:
Of the clients we serve, two forums have achieved within three months:
- 300% increase in daily uv
- seo tops 50
- 65% increase in forum activity
- 40% reduction in annual flow costs
Finally: optimization is not once and for all, and it is recommended that a comprehensive test be conducted once a month, focusing on:
1 cdn load rate (suggested below 70%)
2 frequency of updating of photographic resources (at least 10 per cent per week)
3 cache rate (target over 95 per cent)
(a total of 1287 words, including 20 practical steps, 9 recommended tools and 5 sets of measurements)
Discuz forum doubles speed! 5 tools, 20 step nanny-level optimization course (with seo techniques)
Discuz forum doubles speed! 5 tools, 20 step nanny-level optimization course (with seo techniques)




