{"id":212897,"date":"2014-02-17T14:27:04","date_gmt":"2014-02-17T10:27:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=212897"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=212897","title":{"rendered":"<span class=\"post_title\">\u0425\u0435\u043b\u043f\u0435\u0440 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u0441\u0442\u0438\u043b\u0438 \u0432 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u0438\u0447\u043a\u0430 ZF1<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043b\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432:  <\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script1.js'); $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script2.js'); $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script3.js'); <\/code><\/pre>\n<p>  \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e:  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script1.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script2.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script3.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u043e:  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/cache\/bff149a0b87f5b0e00d9dd364e9ddaa0.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0432\u0430\u0441.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h4>\u0418\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u044f \u0445\u0435\u043b\u043f\u0435\u0440\u0430<\/h4>\n<p>  \u0425\u0435\u043b\u043f\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e composer:  <\/p>\n<pre><code class=\"javascript\">require: {     &quot;denis-isaev\/zend-view-helper-head-concatenate&quot;: &quot;*@dev&quot; }, &quot;repositories&quot;:[         {             &quot;type&quot;:&quot;git&quot;,             &quot;url&quot;:&quot;http:\/\/github.com\/denis-isaev\/ZendHeadConcat&quot;         }     ] <\/code><\/pre>\n<p>  \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c\/\u0441\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 github: <a href=\"http:\/\/github.com\/denis-isaev\/ZendHeadConcat\">github.com\/denis-isaev\/ZendHeadConcat<\/a><\/p>\n<h4>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0445\u0435\u043b\u043f\u0435\u0440\u0430<\/h4>\n<p>  \u0412 Bootsrap.php \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0445\u0435\u043b\u043f\u0435\u0440\u0430\u043c\u0438 \u0438 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u0438\u043c\u0435\u043d\u0438 \u043a\u043b\u0430\u0441\u0441\u0430:  <\/p>\n<pre><code class=\"php\">$view-&gt;addHelperPath(APPLICATION_PATH . '\/..\/vendor\/denis-isaev\/zend-view-helper-head-concatenate\/library\/Iden\/View\/Helper\/', 'Iden_View_Helper'); <\/code><\/pre>\n<p>  \u0412 apllication.ini \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0445\u0435\u043b\u043f\u0435\u0440\u0430:  <\/p>\n<pre><code class=\"bash\">resources.view.concatenateHeadScript.enable = true resources.view.concatenateHeadScript.cacheDir = APPLICATION_PATH &quot;\/..\/static\/cache\/&quot; resources.view.concatenateHeadScript.cacheUri = \/static\/cache\/ resources.view.concatenateHeadScript.map.\/static = APPLICATION_PATH &quot;\/..\/static&quot; <\/code><\/pre>\n<p>  \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432:  <\/p>\n<ul>\n<li><b>enable <\/b> \u2014 \u0432\u043a\u043b\/\u0432\u044b\u043a\u043b \u0445\u0435\u043b\u043f\u0435\u0440\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 false, \u0442\u043e \u0445\u0435\u043b\u043f\u0435\u0440 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0435\u0431\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 Zend_View_Helper_HeadScript \u0438 \u0432\u0441\u0435 \u0442\u0435\u0433\u0438 script \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e. <\/li>\n<li><b>cacheDir <\/b> \u2014 \u043f\u0443\u0442\u044c \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0431\u0443\u0434\u0443\u0442 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b.<\/li>\n<li><b>cacheUri <\/b> \u2014 uri \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0431\u0443\u0434\u0443\u0442 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b.<\/li>\n<li><b>map <\/b> \u2014 \u0437\u0434\u0435\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 uri \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u043c, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443 \u0432\u0430\u0441 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u044b. <br \/>  \u041f\u0440\u0438\u043c\u0435\u0440:<br \/> \n<pre><code class=\"bash\">resources.view.concatenateHeadScript.map.\/uri_path = APPLICATION_PATH &quot;\/..\/file_path&quot; <\/code><\/pre>\n<p>\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0441 \u0442\u0430\u043a\u0438\u043c \u0443\u0440\u043b\u043e\u043c:  <\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headScript()-&gt;appendFile('\/uri_path\/js\/script1.js'); <\/code><\/pre>\n<p>\u0444\u0430\u0439\u043b \u0431\u0443\u0434\u0435\u0442 \u0431\u0440\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043f\u0443\u0442\u0438:  <\/p>\n<pre><code class=\"bash\">APPLICATION_PATH &quot;\/..\/file_path\/js\/script1.js&quot; <\/code><\/pre>\n<p>  \u0411\u043e\u043b\u0435\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code class=\"bash\">resources.view.concatenateHeadScript.map.\/static = APPLICATION_PATH &quot;\/..\/static&quot; $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script1.js'); <\/code><\/pre>\n<p>\u0444\u0430\u0439\u043b \u0431\u0443\u0434\u0435\u0442 \u0431\u0440\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043f\u0443\u0442\u0438:  <\/p>\n<pre><code class=\"bash\">APPLICATION_PATH &quot;\/..\/static\/js\/script1.js&quot; <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0430\u043b\u0438\u0430\u0441\u043e\u0432 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438, \u0442\u043e \u0438\u0445 \u043d\u0430\u0434\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435, \u0447\u0442\u043e\u0431\u044b \u0445\u0435\u043b\u043f\u0435\u0440 \u0441\u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u0432\u043e \u0432\u0441\u0435\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445. \u041f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code class=\"bash\">resources.view.concatenateHeadLink.map.\/static = APPLICATION_PATH &quot;\/..\/static&quot; resources.view.concatenateHeadLink.map.\/admin\/static = APPLICATION_PATH &quot;\/..\/cms_static&quot; <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b \u0431\u044b\u043b\u0438 \u0440\u0430\u0437\u043d\u044b\u0435. \u0422\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f:  <\/p>\n<pre><code class=\"bash\">resources.view.concatenateHeadLink.map.\/static = APPLICATION_PATH &quot;\/..\/static&quot; resources.view.concatenateHeadLink.map.\/static\/admin = APPLICATION_PATH &quot;\/..\/cms_static&quot; <\/code><\/pre>\n<p>\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0440\u043b\u044b, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u043e\u0434 \u0432\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0442 \u0438 \u043f\u043e\u0434 \u043f\u0435\u0440\u0432\u043e\u0435.  <\/li>\n<\/ul>\n<p>  <\/p>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0445\u0435\u043b\u043f\u0435\u0440\u0430<\/h4>\n<p>  \u0412 \u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0433\u0434\u0435 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u0433\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 (layout \u0438\u043b\u0438 view), \u043f\u0438\u0448\u0435\u043c:  <\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadScript(); ?&gt; <\/code><\/pre>\n<p>  \u0438 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0432 html \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/cache\/bff149a0b87f5b0e00d9dd364e9ddaa0.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0418\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b <code>bff149a0b87f5b0e00d9dd364e9ddaa0.js<\/code> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432. <\/p>\n<p>  \u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u2014 \u044d\u0442\u043e md5 \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0438\u0445 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u043f\u0440\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0445\u0438\u0442\u0430\u0445 \u0445\u0435\u043b\u043f\u0435\u0440 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u043d\u043e\u0432\u0430. \u041d\u043e\u0432\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u044f \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445.<\/p>\n<p>  \u041f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u043e\u0432\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0444\u0430\u0439\u043b, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0442\u0430\u0440\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u043a\u0435\u0448\u0435\u043c \u0447\u0438\u0441\u0442\u0438\u0442\u044c, \u0443\u0434\u0430\u043b\u044f\u044f \u0432\u0441\u0435 \u0435\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435.<\/p>\n<h5>\u0415\u0449\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/h5>\n<p>  \u0414\u043b\u044f \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u0438\u043f (<code>application\/javascript<\/code>) \u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 (<code>lt IE 7<\/code>) \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u043e\u043d\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <code>appendFile <\/code>\u0445\u0435\u043b\u043f\u0435\u0440\u0430 <code>headScript<\/code>:  <\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadScript('application\/javascript', array('conditional' =&gt; 'lt IE 7')); ?&gt; <\/code><\/pre>\n<p>  \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0431\u0443\u0434\u0435\u0442:  <\/p>\n<pre><code class=\"html\">&lt;!--[if lt IE 7]&gt;&lt;script type=&quot;application\/javascript&quot; src=&quot;\/static\/cache\/bff149a0b87f5b0e00d9dd364e9ddaa0.js&quot;&gt;&lt;\/script&gt;&lt;![endif]--&gt; <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e headScript \u0445\u0435\u043b\u043f\u0435\u0440\u0430:<\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/script_no_concat.js'); <\/code><\/pre>\n<p>\u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 noConcat, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0441\u0442\u0430\u0432\u0438\u043b\u0441\u044f \u0432 html \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0442\u0435\u0433\u043e\u043c. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u0444\u0430\u0439\u043b\u043e\u043c, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u0441\u044f \u0432 \u043e\u0434\u0438\u043d \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0448\u0438\u0439 \u0444\u0430\u0439\u043b, \u0437\u0430\u0442\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0442\u0430\u0432\u043b\u0435\u043d <code>script_no_concat.js<\/code>, \u0437\u0430\u0442\u0435\u043c \u0432\u0441\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0433\u043e, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u0441\u044f \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u043e\u043c:  <\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script1.js');  $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script2.js');  $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script_no_concat.js', null, array('noConcat' =&gt; true));  $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script3.js');  $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script4.js');  <\/code><\/pre>\n<p>  \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435:  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/ecb97ffafc1798cd2f67fcbc37226761.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script_no_concat.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/41f6175cdfe80c87b5bad623eb90ad33.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0445\u043e\u0434\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0445\u0435\u043b\u043f\u0435\u0440 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0442\u0438\u043f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u0441 \u0442\u0438\u043f\u043e\u043c \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0438 \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f, \u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a noConcat:<\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/script1.js', 'application\/javascript');  $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/script2.js');  \/\/ \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u0442\u0438\u043f text\/javascript $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/script3.js', 'application\/javascript');  $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/script4.js');  \/\/ \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u0442\u0438\u043f text\/javascript <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0445\u0435\u043b\u043f\u0435\u0440\u0430 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0442\u0438\u043f\u043e\u043c <code>application\/javascript<\/code>:<\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadScript('application\/javascript'); ?&gt; <\/code><\/pre>\n<p>  \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0431\u0443\u0434\u0435\u0442:<\/p>\n<pre><code class=\"html\">&lt;script type=&quot;application\/javascript&quot; src=&quot;\/static\/js\/ecb97ffafc1798cd2f67fcbc37226761.js&quot;&gt;&lt;\/script&gt; &lt;!-- \u0442\u0443\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043e script2.js --&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script2.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;application\/javascript&quot; src=&quot;\/static\/js\/41f6175cdfe80c87b5bad623eb90ad33.js&quot;&gt;&lt;\/script&gt; &lt;!-- \u0442\u0443\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043c\u0435\u0436\u0434\u0443 script2.js \u0438 script4.js --&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script4.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0430 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0441 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u043c \u0442\u0438\u043f\u043e\u043c:<\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadScript(); ?&gt; <\/code><\/pre>\n<p>  \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0431\u0443\u0434\u0435\u0442:<\/p>\n<pre><code class=\"html\">&lt;script type=&quot;application\/javascript&quot; src=&quot;\/static\/js\/script1.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/41f6175cdfe80c87b5bad623eb90ad33.js&quot;&gt;&lt;\/script&gt; &lt;!-- \u0442\u0443\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043c\u0435\u0436\u0434\u0443 script1.js \u0438 script3.js --&gt; &lt;script type=&quot;application\/javascript&quot; src=&quot;\/static\/js\/script3.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/ecb97ffafc1798cd2f67fcbc37226761.js&quot;&gt;&lt;\/script&gt; &lt;!-- \u0442\u0443\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0441\u043b\u0435 script3.js --&gt; <\/code><\/pre>\n<h4>\u0410 \u0447\u0442\u043e \u0441\u043e \u0441\u0442\u0438\u043b\u044f\u043c\u0438?<\/h4>\n<p>  \u0414\u043b\u044f CSS \u0441\u0442\u0438\u043b\u0435\u0439 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0445\u0435\u043b\u043f\u0435\u0440. \u0421\u0440\u0430\u0437\u0443 \u043a\u043e\u043d\u0444\u0438\u0433 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b.  <\/p>\n<pre><code class=\"bash\">resources.view.concatenateHeadLink.enable = true resources.view.concatenateHeadLink.cacheDir = APPLICATION_PATH &quot;\/..\/static\/cache\/&quot; resources.view.concatenateHeadLink.cacheUri = \/static\/cache\/ resources.view.concatenateHeadLink.map.\/static = APPLICATION_PATH &quot;\/..\/static&quot; <\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432:  <\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style1.css'); $this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style2.css'); $this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style3.css'); <\/code><\/pre>\n<p>  \u0412\u044b\u0437\u043e\u0432 \u0445\u0435\u043b\u043f\u0435\u0440\u0430:  <\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadStylesheet(); ?&gt; <\/code><\/pre>\n<p>  \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435:  <\/p>\n<pre><code class=\"html\">&lt;link href=&quot;\/static\/cache\/4e0eb351038628091ac42188b1e92977.css&quot; media=&quot;screen&quot; rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; &gt; <\/code><\/pre>\n<p>  \u0412\u044b\u0437\u043e\u0432 \u0445\u0435\u043b\u043f\u0435\u0440\u0430 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 media(tv) \u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c(lt IE 9):  <\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadStylesheet('tv', 'lt IE 9'); ?&gt; <\/code><\/pre>\n<p>  \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435:  <\/p>\n<pre><code class=\"html\">&lt;!--[if lt IE 9]&gt; &lt;link href=&quot;\/static\/cache\/4e0eb351038628091ac42188b1e92977.css&quot; media=&quot;tv&quot; rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; &gt; &lt;![endif]--&gt; <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430 \u0441\u0442\u0438\u043b\u044f \u0441 $extras \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438<\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style1.css', null, null, $extras); <\/code><\/pre>\n<p>\u043e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u043c \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a noConcat. <\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 media(tv) \u043a\u0430\u043a\u043e\u0433\u043e-\u043b\u0438\u0431\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style1.css', 'tv'); <\/code><\/pre>\n<p>\u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 media(application\/javascript) \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0433\u043e css<\/p>\n<pre><code class=\"php\">&lt;?php echo $this-&gt;concatenateHeadStylesheet('application\/javascript'); ?&gt; <\/code><\/pre>\n<p>\u0442\u043e \u0442\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a noConcat. <\/p>\n<p>  \u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0439<\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style1.css', null, 'lt IE 9'); <\/code><\/pre>\n<p>\u0444\u0430\u0439\u043b \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a noConcat. <\/p>\n<p>  \u0412\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u0444\u0430\u0439\u043b, \u043a\u0430\u043a NoConcat \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headLink()-&gt;appendStylesheet('\/static\/css\/style1.css', null, null, array('noConcat' =&gt; true)); <\/code><\/pre>\n<h4>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u043f\u0438\u043b\u043e\u0433\u0430<\/h4>\n<p>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u044d\u0442\u0438 \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u0432 \u0442\u0430\u043a\u043e\u043c \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435:  <\/p>\n<ol>\n<li>\u0412 phpStorm \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/www.jetbrains.com\/phpstorm\/webhelp\/minifying-javascript.html\">\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043c\u0438\u043d\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0441\u0442\u0438\u043b\u0435\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e File Watchers.<\/a><\/li>\n<li>headScript \u0438 headLink \u0445\u0435\u043b\u043f\u0435\u0440\u0430\u043c\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432 development \u0440\u0435\u0436\u0438\u043c\u0435 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b, \u0430 \u0432 production \u2014 \u043c\u0438\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 phpStorm-\u043e\u043c.<\/li>\n<li>\u0412\u043e \u0432\u044c\u044e\u0445\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u0435\u043b\u043f\u0435\u0440\u044b, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 development \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0430.<\/li>\n<\/ol>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u0438\u043c\u0435\u0435\u043c \u0432 dev \u0440\u0435\u0436\u0438\u043c\u0435 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0441\u0442\u0438\u043b\u0435\u0439, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0435\u0440\u0435\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u0433 script\/link, \u0430 \u0432 production \u0440\u0435\u0436\u0438\u043c\u0435 \u2014 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u044b\u0435 \u0432 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u043c\u0438\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/212897\/\"> http:\/\/habrahabr.ru\/post\/212897\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043b\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432:  <\/p>\n<pre><code class=\"php\">$this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script1.js'); $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script2.js'); $this-&gt;view-&gt;headScript()-&gt;appendFile('\/static\/js\/script3.js'); <\/code><\/pre>\n<p>  \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e:  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script1.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script2.js&quot;&gt;&lt;\/script&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/js\/script3.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u043e:  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;\/static\/cache\/bff149a0b87f5b0e00d9dd364e9ddaa0.js&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0432\u0430\u0441.  <\/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-212897","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/212897","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=212897"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/212897\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=212897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=212897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=212897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}