discuz! X3 Server Optimization settings

Source: Internet
Author: User

Server optimization can adjust some of the site's parameters to balance the load on the server.

1 whether to optimize the update topic browsing

Delay the update of the topic or the browse volume of attachments, can significantly reduce the number of large access to the site's server burden, it is recommended to turn on this feature.

2 View number open anti-refresh

Recommend select "Yes" if you choose "No", theme, space, log every visit, browse volume by 1, will increase server pressure.

3) Attachment Download delay update

It is recommended that this feature be turned on, delaying the browsing volume of the attachments, which can significantly reduce the server burden of the site with great traffic.

4) Prohibit browser buffering

Prevents the browser from buffering the forum page, which can be used to solve the problem that the content of the very individual browser is not refreshed properly. such as login after the prompt success of the user name is not their own user name, but refreshing the page after normal. Note: This feature will add to the server burden.

5 Maximum number of online

Please set a reasonable value, the range 10~65535, the recommended setting is about 10 times times the average number of people online. This setting controls the maximum number of online people by setting the maximum record for the sessions table, which allows you to properly control the server's resource consumption. You can adjust this setting according to the actual number of people online.

6) Online retention time (minutes)

Please set reasonable value according to the access situation, the site of large visit should reduce this number, set range 5-60, too large or too small settings are likely to increase server resource overhead. The user's online status is stored in the sessions datasheet, adjusting this value to adjust the user's online record in the table to save to the time of automatic destruction.

7) JS file directory

Sets the directory for the site JS file. When the script directory is a cached directory, the system compresses the *.js file in the default directory and saves it to the cached directory to improve read speed

8) Open Picture delay loading

It is recommended to turn on this feature, when opened, the picture in the page in the browser's current window reload, can significantly reduce the access to a large number of sites server burden.

9) Participate in module aggregation data bar number

This value affects the number of data that MySQL retrieves when the module is aggregated, and setting too high will seriously affect MySQL's performance, setting too long can affect the ideal degree of the module aggregation result data. Maximum value is 65535

10) Module Update time interval

Sets all modules to be updated within a specified time interval. You can avoid the peak period by accessing the site. Such as: 0 Point-23 points

11 whether the session mechanism is closed

After closing the session mechanism, can significantly reduce the site's server burden, suggest more than 20,000 online users to turn on this feature (note: The number of visitors and the user's online time will no longer be counted, the Forum homepage and the list page of the online user list feature will not be available)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.