Cara Buat HTTP header

Discussion in 'Search Engine dan Direktori Web' started by balinter, 4 Jun 2014.

Thread Status:
Not open for further replies.
  1. balinter

    balinter Apprentice 1.0

    Messages:
    226
    Likes Received:
    1
    Trophy Points:
    18
    Hallo teman2 ada yang bisa jelaskan car buat HTTP Header ? Teman saya coba menganalisis website yang saya buat. Ini komentarnya "The encoding (UTF-8) is only provided in the HTTP-equivalent metatag. It should be provided in the HTTP header".

    Sebab saya buat seperti begini di website "
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    Hal ini yang dia komentar.

    Yang berikut:
    The HTML loadtime is very slow (1.6 seconds). The loadtime should be less than 0.4 seconds. Slow sites are harder to crawl.

    Faktor apa yang membuat lambat ?

    Ini web yang saya buat http://www.indonesiarooms.biz
     
  2. arieonline

    arieonline Expert 1.0

    Messages:
    885
    Likes Received:
    127
    Trophy Points:
    43
    1.
    Code:
    <?php
    header('Content-Type: text/html; charset=utf-8');
    ?>
    2.
    http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
     
  3. balinter

    balinter Apprentice 1.0

    Messages:
    226
    Likes Received:
    1
    Trophy Points:
    18
    Terimakasih Mas Arie.
    Buat gzip yng tidak memberatkan server namun friendy untuk di akses gimana ya ? Ada tutorial bahasa Indonesia ?
     
  4. gonggo

    gonggo Poster 1.0

    Messages:
    53
    Likes Received:
    6
    Trophy Points:
    8
    dicoba2 aja (misalnya dg ab test) compression level yg cocok, antara 1-9 (angka makin tinggi, kompresi makin tinggi, ukuran file makin kecil, beban server makin tinggi)
    http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
     
  5. balinter

    balinter Apprentice 1.0

    Messages:
    226
    Likes Received:
    1
    Trophy Points:
    18
    Ada tutorial yang tidak memberatkan kinerja server ???
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...