, web-. -, . , , . , , ,
WordPress, .
web-, , . , , . - , - . WordPress . , , web- , WordPress, .
, , web-, - . , WordPress, , WordPress.
1.
2.
3. ? -
4.
5. AJAX-
6.
7.
8.
9. WordPress,
10. PHP 7 HHVM
11.
12. ?
13. -
14. Google
15. 123456
16.
1.
, , , web- . WordPress , , .
, , . PHP, , , - web-.
, , .
2.
.
! WordPress , , , . - - .
, , , LAMP LEMP -. Linux, Apache/Nginx, MySQL PHP. , WAMP MAMP .
, , , , , . , , , , . , . - MySQL.
, ,
DesktopServer Local, WordPress. , ,
WP-CLI . , WordPress .
, .
3. ? -
, WordPress, , . , WordPress , , - PHP- . , , .
:
wp-config.php edit_themes,
edit_plugins,
edit_files . .
define('DISALLOW_FILE_EDIT', true);
, .
wp-config.php.
define('DISALLOW_FILE_MODS', true);
, .
WordPress Codex.
4.
, , . WordPress , - , .
. , . , 50.000
WordPress.
.
WP Loop, , . .
, - , . , . , , .
- WordPress, , ThemeForest. , Revolution Slider Visual Composer. , , , . .
5. AJAX-
, AJAX- , , AJAX. , API WordPress Heartbeat
/wp-admin/admin-ajax.php AJAX . . . . - DDoS- .
, admin-ajax.php, , .
HTTP POST- , , , . , , ,
get_shares_count, , admin-ajax.php. , .
AJAX , , , AJAX.
6.
, . , , - , .
, WordPress.
: Google AdSense, 300x250. - Twenty Sixteen. AdSense, .
AdSense ( )
:
AdSense ( )
:
3 Google AdSense, 6 .
WordPress c 2,7 , . DNS JavaScript . , 10 . , , .
HTTP-, WordPress.
, . , .
Huffington Post. , HTTP- .
13 !
- : 15,908 . | 221 HTTP-
- : 13,957 . | 66 HTTP-
, . . , . , .
JavaScript:
src="example.js" async
JavaScript:
src="example.js" defer
JavaScript. WordPress 4.1 ,
, async defer .
, , . ? , , ,
. , , . , , -.
7.
, , WordPress.
, . , , . WordPress , -, .
, :
VPS , WordPress , (, Redis Memcache). , , , 502 Bad Gateway. , , .
, , WP Rocket Cache Enabler, , , . ,
- , .
2x CDN = 2x , ?
CDN , . - Cloudflare, -, CDN, DNS, .
, Cloudflare, KeyCDN MaxCDN . - , - , . , , , , , . , Cloudflare, CDN, .
SEO-
, . 3 SEO . , , All In One SEO, Yoast SEO , ,
. .
8.
WordPress, .
WebPageTest, HTTP/2.
Pingdom.
, , , DNS- .
, , .
9. WordPress,
: WordPress, - . . . , WordPress. , WordPress, , .
10. PHP 7 HHVM
, PHP 7 HHVM WordPress. , . , . , PHP 5.6 PHP 7, WordPress , , . , , PHP 7, , , .
11.
WordPress - . , , WordPress , . , , MyISAM . InnoDB, , .
. , , MySQL 5.6.4 , , , .
wp_comments. ALTER, InnoDB.
ALTER TABLE wp_comments ENGINE=InnoDB;
phpMyAdmin, , .
-
. wp-config.php , .
define('WP_POST_REVISIONS', false );
, :
define('WP_POST_REVISIONS', 3);
200 . , WordPress , , .
, phpMyAdmin, :
DELETE FROM wp_posts WHERE post_type = "revision";
WP-Optimize .
12. ?
, WordPress. , 1% . - , , , , . , , , , , , .
, . , , - Avada,
700 .
. WordPress, , - . . , .
13. -
, WordPress wp-config.php, . , , WordPress. . wp-config.php, , /wp-content/debug.log.
:
define( 'WP_DEBUG_LOG', true );
:
define( 'WP_DEBUG_DISPLAY', true );
WP_DEBUG codex.
14. Google
Google. . , . , DNS GoDaddy sFTP, Google.
, WordPress, ,
StackExchange WordPress Codex, .
, WordPress, , , , - .
15. 123456
SpashData ( 2 .) . ,
2015 123456 - , 2014 . , .
KeePass . , 123456.
16.
, -, , WordPress . . , , . , , , .
- Contact Form 7. , CSS JavaScript , .
. -
wp_dequeue_script(), WordPress 3.1. .
Contact Form 7. Contact Form 7
, JavaScript CSS , .
- WordPress, ,
Gonzalez Plugin Organizer. Gonzalez . JavaScript CSS Contact Form 7 , , , .
, WordPress
28% -. , CMS. , , . , , WordPress , .
Creating Better, Faster And More Optimized WordPress Websites Brian Jackson.
https://habrahabr.ru/post/330878/