{"id":82760,"date":"2018-12-18T16:03:50","date_gmt":"2018-12-18T16:03:50","guid":{"rendered":"https:\/\/br.wordpress.org\/support\/topic\/problemas-com-aproveitamento-de-cache\/"},"modified":"2018-12-18T16:03:50","modified_gmt":"2018-12-18T16:03:50","slug":"problemas-com-aproveitamento-de-cache","status":"publish","type":"topic","link":"https:\/\/br.wordpress.org\/support\/topic\/problemas-com-aproveitamento-de-cache\/","title":{"rendered":"Problemas com aproveitamento de cache"},"content":{"rendered":"<p>estou com problema no aproveitamento de cache j\u00e1 entrei no .htaccess alterei para melhorar s\u00f3 que n\u00e3o adiantou em nada minha pontua\u00e7\u00e3o no https:\/\/gtmetrix.com\/ <\/p>\n<p># BEGIN WordPress<\/p>\n<p>&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\nRewriteRule ^index\\.php$ &#8211; [L]<br \/>\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteRule . \/index.php [L]<br \/>\n&lt;\/IfModule&gt;<\/p>\n<p># END WordPress<\/p>\n<p>&lt;IfModule mod_headers.c&gt;<br \/>\n  Header unset ETag<br \/>\n&lt;\/IfModule&gt;<br \/>\nFileETag None<br \/>\n&lt;IfModule mod_expires.c&gt;<br \/>\n ExpiresActive on<br \/>\n ExpiresDefault &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType text\/cache-manifest &#8220;access plus 0 seconds&#8221;<br \/>\n # Html<br \/>\n ExpiresByType text\/html &#8220;access plus 0 seconds&#8221;<br \/>\n # Data<br \/>\n ExpiresByType text\/xml &#8220;access plus 0 seconds&#8221;<br \/>\n ExpiresByType application\/xml &#8220;access plus 0 seconds&#8221;<br \/>\n ExpiresByType application\/json &#8220;access plus 0 seconds&#8221;<br \/>\n # Feed<br \/>\n ExpiresByType application\/rss+xml &#8220;access plus 1 hour&#8221;<br \/>\n ExpiresByType application\/atom+xml &#8220;access plus 1 hour&#8221;<br \/>\n # Favicon<br \/>\n ExpiresByType image\/x-icon &#8220;access plus 1 week&#8221;<br \/>\n # Media: images, video, audio<br \/>\n ExpiresByType image\/gif &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType image\/png &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType image\/jpg &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType image\/jpeg &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType video\/ogg &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType audio\/ogg &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType video\/mp4 &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType video\/webm &#8220;access plus 1 month&#8221;<br \/>\n # HTC files<br \/>\n ExpiresByType text\/x-component &#8220;access plus 1 month&#8221;<br \/>\n # Webfonts<br \/>\n ExpiresByType application\/x-font-ttf &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType font\/opentype &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType application\/x-font-woff &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType image\/svg+xml &#8220;access plus 1 month&#8221;<br \/>\n ExpiresByType application\/vnd.ms-fontobject &#8220;access plus 1 month&#8221;<br \/>\n # CSS \/ JS<br \/>\n ExpiresByType text\/css &#8220;access plus 1 year&#8221;<br \/>\n ExpiresByType application\/javascript &#8220;access plus 1 year&#8221;<br \/>\n ExpiresByType application\/x-javascript  &#8220;access plus 1 year&#8221;<br \/>\n&lt;\/IfModule&gt;<br \/>\n#For\u00e7a o IE a sempre carregar utilizando a \u00faltima vers\u0103o dispon\u00edvel<br \/>\n&lt;IfModule mod_headers.c&gt;<br \/>\n  Header set X-UA-Compatible &#8220;IE=Edge,chrome=1&#8221;<br \/>\n  &lt;FilesMatch &#8220;\\.(js|css|gif|png|jpeg|pdf|xml|oga|ogg|m4a|ogv|mp4|m4v|webm|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache|manifest|htc|crx|oex|xpi|safariextz|vcf)$&#8221; &gt;<br \/>\n    Header unset X-UA-Compatible<br \/>\n  &lt;\/FilesMatch&gt;<br \/>\n&lt;\/IfModule&gt;<\/p>\n<p># Habilitar o PHP 5.6<br \/>\nAddHandler application\/x-httpd-php56 .php<br \/>\n&lt;IfModule mod_suphp.c&gt;<br \/>\nsuPHP_ConfigPath \/opt\/php56\/lib<br \/>\n&lt;\/IfModule&gt;<\/p>\n","protected":false},"template":"","class_list":["post-82760","topic","type-topic","status-publish","hentry","topic-tag-cache"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/82760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/82760\/revisions"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=82760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}