-
作者帖子
-
opcache 之前安装过了,之前还安装了 redis,这个没有影响吧
<?php /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://codex.wordpress.org/Editing_wp-config.php * * @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('WP_CACHE', true); define( 'WPCACHEHOME', '/www/wwwroot/51findbook_com/wp-content/plugins/wp-super-cache/' ); define('DB_NAME', 'sql_51findbook_c'); /** MySQL database username */ define('DB_USER', 'sql_51findbook_c'); /** MySQL database password */ define('DB_PASSWORD', 'hybsMMmdRp3aKYJL'); /** MySQL hostname */ define('DB_HOST', 'localhost'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8mb4'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', ''); /**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */ define('AUTH_KEY', 'jA(jV+PjcGu@NGx|.1zYb?+q:/Jb=>ztCHHaKA)Oj7Xu;M?$A 1[x~]iKF>6m?[A'); define('SECURE_AUTH_KEY', '2sr{P/O)a>~D*-NT,k,CcX)#o-un~IPM&!s>xK* v,|j!oqdbSG#/,i&4n3XH,,k'); define('LOGGED_IN_KEY', 'Ijmx-eez+by~Wp{LheND>apoR>!$RKHx{[R#UgIUGG%FGDSWS$U0}N4K7@jh 3rk'); define('NONCE_KEY', 'eUD|:/>_LQ=u
q^;<3:I |l6Ankt-T3!OrWgKgS.lIH@0lmnbs~yI>h)$!D]rJ7o’);
define(‘AUTH_SALT’, ‘M.vC.$+n87|:H j8%cTwO)7)lOV;hV<Y6nDcFimt)2[9d/VFkjYm DR
^hyc[02′);
define(‘SECURE_AUTH_SALT’, ‘:hPL%62N9O8SU.QY(,K4B[0cxqO~dj/;*?E.y!A+_UeR10W-q^3VyO5MM:@[b5kX’);
define(‘LOGGED_IN_SALT’, ‘l0oV^2VXv#I!SHGqHNZklRaMSj#!>)%$YtM51wBPO=j>nl{::(QbRSGKL4jP)PiO’);
define(‘NONCE_SALT’, ‘IH>sspnda5>/G|7bt)2i]E}J!wh
)cGyfg9+Ln=y^nB&nczlP0vs^7Ux6Z?Y.c ‘);define(‘AUTOMATIC_UPDATER_DISABLED’, true );//关闭自动更新
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = ’51findbook_’;/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define(‘WP_DEBUG’, false);/* That’s all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);
`没有找到 「请不要继续编辑」 这句话呢
WP 版本: [?] 4.9.8 WP 多站点: [?] – PHP 内存限制: [?] 512 MB
avada 系统状态显示这样就算 512M 设置成功了吧
「https://bbs.weixiaoduo.com/topic/17527」
我是不是也要把头像的时间戳去掉,我去试试
这个翻译过来就是,添加到这行上面。
/* That』s all, stop editing! Happy blogging. */
首页的 TTFB 时间特别长,网上查了下,都说是 Google 字体、表情或者连接了海外服务器之类的常规原因,我现在已经几乎不连接任何海外服务器了 (除了 cdn),为什么 TTFB 还是这么大呢
时间戳那个不用管了,新版的已经没有影响。
另外如果你想要论坛回复就通知的话,这样会很让人烦的,试想一下如果一个人发了贴,但是有十个人回,而且还是隔三差五或者几个月后的有邮件来
发的帖子越多每次都有提醒,这样会烦死人。
我看了下不知道你网站是弄的什么然后每个页面加载的时候都有个空缺图片,这个是拖慢速度的原因。
你试着上传版块图标设置下,然后看看速度如何。
-
作者帖子
- 话题 「网站 request 数量特别多」 已关闭,不接受新回复。