{"id":1320,"date":"2020-02-20T13:18:10","date_gmt":"2020-02-20T13:18:10","guid":{"rendered":"http:\/\/blog.inetmar.com\/?p=1320"},"modified":"2024-09-12T11:56:01","modified_gmt":"2024-09-12T08:56:01","slug":"tarayici-onbellekleme-ile-site-hizlandirma","status":"publish","type":"post","link":"https:\/\/www.inetmar.com\/blog\/tarayici-onbellekleme-ile-site-hizlandirma\/","title":{"rendered":"Taray\u0131c\u0131 \u00d6nbellekleme ile Site H\u0131zland\u0131rma"},"content":{"rendered":"\r\n<p>Site h\u0131zland\u0131rman\u0131n bir ka\u00e7 farkl\u0131 yolundan biri de browser caching\u2019dir, Linux platformda .htaccess ile kolayca yap\u0131labilecek bu i\u015flemler ile, css, javascript, jpg, favicon, gif vb.. i\u00e7eri\u011fini kullan\u0131c\u0131n\u0131n browser\u0131na \u00f6nbellekleme yapt\u0131rarak tekrar tekrar server\u2019dan indirmesine gerek b\u0131rakmazs\u0131n\u0131z, dolay\u0131s\u0131yla sitelerinizin a\u00e7\u0131l\u0131\u015f h\u0131z\u0131 i\u00e7in katk\u0131s\u0131 olacakt\u0131r. <strong>Gtmetrix<\/strong>, <strong>google pagespeed<\/strong> gibi ara\u00e7larda bu \u00f6zelli\u011fi kullanman\u0131z\u0131 \u00f6neriyor.<\/p>\r\n\r\n\r\n\r\n<p>.htaccess dosyan\u0131za ekleyece\u011finiz kod;<\/p>\r\n\r\n\r\n\r\n<p>## Browser Cache ##<br \/>&lt;IfModule mod_expires.c&gt;<br \/>ExpiresActive On<br \/>ExpiresByType image\/jpg \u201caccess 1 year\u201d<br \/>ExpiresByType image\/jpeg \u201caccess 1 year\u201d<br \/>ExpiresByType image\/gif \u201caccess 1 year\u201d<br \/>ExpiresByType image\/png \u201caccess 1 year\u201d<br \/>ExpiresByType text\/css \u201caccess 1 month\u201d<br \/>ExpiresByType text\/html \u201caccess 1 month\u201d<br \/>ExpiresByType application\/pdf \u201caccess 1 month\u201d<br \/>ExpiresByType text\/x-javascript \u201caccess 1 month\u201d<br \/>ExpiresByType application\/x-shockwave-flash \u201caccess 1 month\u201d<br \/>ExpiresByType image\/x-icon \u201caccess 1 year\u201d<br \/>ExpiresDefault \u201caccess 1 month\u201d<br \/>&lt;\/IfModule&gt;<br \/>## Browser Cache ##<\/p>\r\n\r\n\r\n\r\n<p>Bu kodlar ortalama her sitenin ihtiyac\u0131 olan periyotlarda yaz\u0131lm\u0131\u015ft\u0131r, tarihleri de\u011fi\u015ftirebilirsiniz. \u015eunu unutmay\u0131n Ornek1.jpg isimli dosyan\u0131z 1 y\u0131l cache olacak, e\u011fer Ornek1.jpg g\u00f6rseli de\u011fi\u015firse daha \u00f6nceden websitenize girmi\u015f ziyareti bunu de\u011fi\u015fmi\u015f olarak g\u00f6remez, CTRL + F5 komutuyla siteyi tekrar yenilemek durumunda kalacakt\u0131r. Dosyalar\u0131n\u0131z\u0131 isimlendirirken buna dikkat ederseniz bu \u00f6nbellekleme seo puan\u0131, site h\u0131z\u0131 a\u00e7\u0131s\u0131ndan \u00e7ok faydas\u0131 olacakt\u0131r.<\/p>\r\n\r\n\r\n\r\n<p>Hali haz\u0131rda, <a href=\"https:\/\/www.inetmar.com\/hosting\/linux-hosting\/\">linux hosting<\/a> servislerimizde gzip level 6 olarak litespeed \u00fczerinden s\u0131k\u0131\u015ft\u0131rarak i\u00e7eri\u011fi y\u00fcksek performans ile\u00a0 sunabilmekteyiz.<\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: center;\"><a class=\"waffle-rich-text-link\" href=\"https:\/\/www.inetmar.com\/sunucu\/rdp-server\/\">RDP server<\/a> ile y\u00fcksek i\u015flemci g\u00fcc\u00fc sahip uzaktan masa\u00fcst\u00fc deneyiminizi geli\u015ftirin.<\/p>","protected":false},"excerpt":{"rendered":"<p>Site h\u0131zland\u0131rman\u0131n bir ka\u00e7 farkl\u0131 yolundan biri de browser caching\u2019dir, Linux platformda .htaccess ile kolayca yap\u0131labilecek bu i\u015flemler ile, css, javascript, jpg, favicon, gif vb.. i\u00e7eri\u011fini kullan\u0131c\u0131n\u0131n browser\u0131na \u00f6nbellekleme yapt\u0131rarak tekrar tekrar server\u2019dan indirmesine gerek&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,53,18],"tags":[],"class_list":["post-1320","post","type-post","status-publish","format-standard","hentry","category-hosting","category-linuxhosting","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":4,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/1320\/revisions"}],"predecessor-version":[{"id":9388,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/posts\/1320\/revisions\/9388"}],"wp:attachment":[{"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/categories?post=1320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inetmar.com\/blog\/wp-json\/wp\/v2\/tags?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}