{"id":253971,"date":"2015-03-27T23:53:04","date_gmt":"2015-03-27T19:53:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=253971"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=253971","title":{"rendered":"\u0415\u0449\u0435 \u043e\u0434\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044e ajax-\u0441\u0430\u0439\u0442\u043e\u0432 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u0430\u043c\u0438"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/d04\/8df\/920\/d048df92092f40f1b1988bfd499a6b1c.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0421\u0442\u0438\u043b\u044c\u043d\u043e, \u043c\u043e\u0434\u043d\u043e, \u043c\u043e\u043b\u043e\u0434\u0435\u0436\u043d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u0439\u0442 \u043d\u0430 AJAX, \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u2014 \u044d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0443\u0434\u043e\u0431\u043d\u043e, \u0430 \u0443 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0440\u043e\u0431\u043e\u0442\u043e\u0432 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0430\u0439\u0442\u0430\u043c\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<a name=\"habracut\"><\/a><\/p>\n<p>  \u0421\u0430\u043c\u044b\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438, \u043d\u043e \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 ajax-\u043e\u043c, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u043f\u043e \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 c \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c JS (\u043c\u0430\u043b\u043e \u043b\u0438) \u0438 \u0440\u043e\u0431\u043e\u0442\u043e\u0432. \u0422\u043e \u0435\u0441\u0442\u044c \u0438\u043d\u0437\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u043e \u0441\u0442\u0430\u0440\u0438\u043d\u043a\u0435, \u0441 \u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438, layout-\u043e\u043c \u0438 view-\u0448\u043a\u0430\u043c\u0438, \u0437\u0430\u0442\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 javascript-\u043e\u043c, \u043d\u0430\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0443 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 ajax \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u0441\u044b\u043b\u043a\u0443 \u0438\u0437 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u0430 href, \u0442\u0435\u0433\u0430 a, \u0432 \u043e\u0447\u0435\u043d\u044c \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"javascript\">$(document).on('click', 'a.ajaxlinks', 'function(e) {   e.stopPropagation();   e.preventDefault();    var pageurl = $(this).attr('href');    $.ajax({     url: pageurl,     data: {       ajax: 1     },     success: function( resp ) {       $('#content').html(resp);     }   }); }); <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0442\u0435 \u0436\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043d\u043e ajax-\u043e\u043c, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0430 \u0431\u044d\u043a\u044d\u043d\u0434\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 GET-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ajax \u0438 \u043f\u0440\u0438 \u0435\u0433\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0431\u0435\u0437 layout-\u0430, \u043d\u0443 \u0435\u0441\u043b\u0438 \u0433\u0440\u0443\u0431\u043e.<\/p>\n<p>  \u041d\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043d\u0430 \u044d\u0442\u043e \u0440\u0430\u0441\u0447\u0438\u0442\u0430\u043d\u0430, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0441\u0430\u0439\u0442\u044b \u043d\u0430 angularjs, \u0438 \u0435\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435, \u0438 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u043d\u0430 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 html-\u0448\u0430\u0431\u043b\u043e\u043d \u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438. \u0414\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 (\u0438\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u0443\u0436\u0435 \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438) \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e HashBang, \u0432 \u043a\u0440\u0430\u0442\u0446\u0435 \u2014 \u044d\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u0432\u0438\u0434\u0430 <a href=\"http:\/\/example.com\/#!\/cats\/grumpy-cat\">example.com\/#!\/cats\/grumpy-cat<\/a>, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0440\u043e\u0431\u043e\u0442 \u0432\u0438\u0434\u0438\u0442 #! \u043e\u043d \u0434\u0435\u043b\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/example.com\/?_escaped_fragment_=\/cats\/grumpy-cat\">example.com\/?_escaped_fragment_=\/cats\/grumpy-cat<\/a>, \u0442.\u0435. \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u00ab#!\u00bb \u043d\u0430 \u00ab?_escaped_fragment_=\u00bb, \u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u0434\u0430\u0442\u044c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 html \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u0443, \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u0439 \u0442\u043e\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0432\u0438\u0434\u0435\u043b \u0431\u044b \u043f\u043e \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c. \u041d\u043e \u0435\u0441\u043b\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f HTML5 History API, \u0438 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0438 \u0432\u0438\u0434\u0430 #!, \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u0435\u043a\u0446\u0438\u044e head \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0442\u0430 \u0442\u0435\u0433:  <\/p>\n<pre><code class=\"html\">&lt;meta name=&quot;fragment&quot; content=&quot;!&quot; \/&gt; <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0432\u0438\u0434\u0435 \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u0433\u0430, \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0440\u043e\u0431\u043e\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0441\u0430\u0439\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 ajax, \u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441\u0430\u0439\u0442\u0430 \u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0443: <a href=\"http:\/\/example.com\/?_escaped_fragment_=\/cats\/grumpy-cat\">example.com\/?_escaped_fragment_=\/cats\/grumpy-cat<\/a> \u0432\u043c\u0435\u0441\u0442\u043e <a href=\"http:\/\/example.com\/cats\/grumpy-cat\">example.com\/cats\/grumpy-cat<\/a>.<\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u043d\u043e \u0432 \u0441\u043b\u043e\u0436\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0441 angularjs \u2014 \u044d\u0442\u043e \u043a\u0443\u0447\u0430 \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<p>  \u041f\u0443\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043c\u044b \u043f\u043e\u0439\u0434\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0445\u0435\u043c\u0435 \u043e\u0442 \u0433\u0443\u0433\u043b:<br \/>  <img decoding=\"async\" src=\"https:\/\/developers.google.com\/webmasters\/ajax-crawling\/docs\/images\/crawlerserver2.png\" alt=\"image\"\/><\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043b\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0441 _escaped_fragment_ \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u043d\u0430 phantom.js \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e webkit \u0431\u0443\u0434\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c html-\u0441\u043b\u0435\u043f\u043e\u043a \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0440\u0430\u0443\u043b\u0435\u0440\u0443. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0436\u0435 \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u044f\u043c\u0443\u044e.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0441\u043e\u0444\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0435\u0449\u0435, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">yum install screen npm instamm phantomjs ln -s \/usr\/local\/node_modules\/phantomjs\/lib\/phantom\/bin\/phantomjs \/usr\/local\/bin\/phantomjs <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u043c (\u043d\u0443 \u0438\u043b\u0438 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0433\u043e\u0442\u043e\u0432\u044b\u0439) \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0439 js-\u0441\u043a\u0440\u0438\u043f\u0442 (server.js), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c html-\u0441\u043b\u0435\u043f\u043a\u0438:  <\/p>\n<pre><code class=\"javascript\">var system = require('system');  if (system.args.length &lt; 3) {     console.log(&quot;Missing arguments.&quot;);     phantom.exit(); }  var server = require('webserver').create(); var port = parseInt(system.args[1]); var urlPrefix = system.args[2];  var parse_qs = function(s) {     var queryString = {};     var a = document.createElement(&quot;a&quot;);     a.href = s;     a.search.replace(         new RegExp(&quot;([^?=&]+)(=([^&]*))?&quot;, &quot;g&quot;),         function($0, $1, $2, $3) { queryString[$1] = $3; }     );     return queryString; };  var renderHtml = function(url, cb) {     var page = require('webpage').create();     page.settings.loadImages = false;     page.settings.localToRemoteUrlAccessEnabled = true;     page.onCallback = function() {         cb(page.content);         page.close();     }; \/\/    page.onConsoleMessage = function(msg, lineNum, sourceId) { \/\/        console.log('CONSOLE: ' + msg + ' (from line #' + lineNum + ' in &quot;' + sourceId + '&quot;)'); \/\/    };     page.onInitialized = function() {        page.evaluate(function() {             setTimeout(function() {                 window.callPhantom();             }, 10000);         });     };     page.open(url); };  server.listen(port, function (request, response) {     var route = parse_qs(request.url)._escaped_fragment_;     \/\/ var url = urlPrefix     \/\/   + '\/' + request.url.slice(1, request.url.indexOf('?'))     \/\/   + (route ? decodeURIComponent(route) : '');      var url = urlPrefix + '\/' + request.url;      renderHtml(url, function(html) {         response.statusCode = 200;         response.write(html);         response.close();     }); });  console.log('Listening on ' + port + '...'); console.log('Press Ctrl+C to stop.'); <\/code><\/pre>\n<p>  \u0418 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0433\u043e \u0432 <a href=\"http:\/\/help.ubuntu.ru\/wiki\/screen\">\u0441\u043a\u0440\u0438\u043d\u0435<\/a> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"http:\/\/phantomjs.org\/\">phantomjs<\/a>:  <\/p>\n<pre><code class=\"bash\">screen -d -m phantomjs --disk-cache=no server.js 8888 http:\/\/example.com <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u043c nginx (apache \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e) \u043d\u0430 \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0430 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0439 \u0434\u0435\u043c\u043e\u043d:  <\/p>\n<pre><code class=\"bash\">server {   ...    if ($args ~ &quot;_escaped_fragment_=(.+)&quot;) {     set $real_url $1;     rewrite ^ \/crawler$real_url;   }    location ^~ \/crawler {     proxy_pass http:\/\/127.0.0.1:8888\/$real_url;   }     ... } <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 <a href=\"http:\/\/example.com\/cats\/grumpy-cat\">example.com\/cats\/grumpy-cat<\/a> \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0440\u043e\u0431\u043e\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 <a href=\"http:\/\/example.com\/?_escaped_fragment_=cats\/grumpy-cat\">example.com\/?_escaped_fragment_=cats\/grumpy-cat<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442\u0441\u044f nginx-\u043e\u043c, \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f phantomjs-\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 html \u0438 \u043e\u0442\u0434\u0430\u0441\u0442 \u0435\u0433\u043e \u0440\u043e\u0431\u043e\u0442\u0443.<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0440\u043e\u0431\u043e\u0442\u043e\u0432 \u0433\u0443\u0433\u043b\u0430, \u044f\u043d\u0434\u0435\u043a\u0441\u0430 \u0438 \u0431\u0438\u043d\u0433\u0430, \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u0434\u043b\u044f \u0448\u0430\u0440\u0438\u043d\u0433\u0430 \u0441\u0441\u044b\u043b\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 facebook.<\/p>\n<p>  \u0421\u0441\u044b\u043b\u043a\u0438:<br \/>  <a href=\"https:\/\/developers.google.com\/webmasters\/ajax-crawling\/docs\/getting-started\">https:\/\/developers.google.com\/webmasters\/ajax-crawling\/docs\/getting-started<\/a><br \/>  <a href=\"https:\/\/help.yandex.ru\/webmaster\/robot-workings\/ajax-indexing.xml\">https:\/\/help.yandex.ru\/webmaster\/robot-workings\/ajax-indexing.xml<\/a>     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/254213\/\"> http:\/\/habrahabr.ru\/post\/254213\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/d04\/8df\/920\/d048df92092f40f1b1988bfd499a6b1c.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0421\u0442\u0438\u043b\u044c\u043d\u043e, \u043c\u043e\u0434\u043d\u043e, \u043c\u043e\u043b\u043e\u0434\u0435\u0436\u043d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u0439\u0442 \u043d\u0430 AJAX, \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u2014 \u044d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0443\u0434\u043e\u0431\u043d\u043e, \u0430 \u0443 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0440\u043e\u0431\u043e\u0442\u043e\u0432 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0441\u0430\u0439\u0442\u0430\u043c\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-253971","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=253971"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253971\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}