Jump to content

Recommended Posts

Posted

Multe site-uri (in special de jocuri sau filme), au inceput sa-si puna ca background o imagine destul de complexa, care de multe ori depaseste 100-200 KB. Pentru a nu manca din banda (bandwidth) la fiecare accesare a unei pagini a site-ului, puteti adauga codul de mai jos in .htaccess pentru a cacheui imaginile:

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 2 years"
ExpiresByType image/jpeg "access plus 2 years"
ExpiresByType image/png "access plus 2 years"
ExpiresByType image/ico "access plus 2 years"
</IfModule>[/code]

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.