• 18-02-2014, 12:48:03
    #1
    Merhaba arkadaşlar,

    Napius V1 scriptli oyun sitemin hızı oldukça düşük, gtmetrix testinde aşağıdaki hataları alıyorum. Nasıl düzeltebiliriz? Bilgisi olanlar paylaşabilir mi?

    Specify image dimensions
    F (0)

    Leverage browser caching
    F (17)

    Combine images using CSS sprites
    E (50)
  • 18-02-2014, 13:16:31
    #2
    browser için .htacces içerisine tarayıcı önbelleği için gerekli olanları yazmalısınız.
    örnek vereyim

    # Turn on Expires and set default to 0
    ExpiresActive On
    ExpiresDefault A0
    browser için .htacces içerisine tarayıcı önbelleği için gerekli olanları yazmalısınız. 
    örnek vereyim
    
    
    # Set up caching on media files for 1 year (forever?)
    <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
    ExpiresDefault A29030400
    Header append Cache-Control "public"
    </FilesMatch>
    
    # Set up caching on media files for 1 week
    <FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
    ExpiresDefault A604800
    Header append Cache-Control "public"
    </FilesMatch>
    
    # Set up 2 Hour caching on commonly updated files
    <FilesMatch "\.(xml|txt|html|js|css)$">
    ExpiresDefault A29030400
    Header append Cache-Control "proxy-revalidate"
    </FilesMatch>
    
    # Force no caching for dynamic files
    <FilesMatch "\.(php)$">
    ExpiresActive Off
    Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
    Header set Pragma "no-cache"
    </FilesMatch>


    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 13:16:31 -->-> Daha önceki mesaj 13:15:45 --

    yine hızlandırma için ayrıca gzip açık mı kontrol etmenizi tavsiye ederim
  • 18-02-2014, 18:56:27
    #3
    Üyeliği durduruldu
    + Ayrıca Resim dosyalarınızı yahoo smush it ile sıkıştırılabilir ve boyutunu küçültebilirsiniz