Pogledajte određenu poruku
Staro 19. 11. 2008.   #5
MorenoArdohain
Knowledge base
Wrote a book
 
Avatar MorenoArdohain
 
Datum učlanjenja: 16.06.2005
Lokacija: Novi Sad
Poruke: 1.437
Hvala: 37
131 "Hvala" u 82 poruka
MorenoArdohain će postati "faca" uskoroMorenoArdohain će postati "faca" uskoro
Default

Ja bih to uradio na nivou Apachea (ako je on uopste u pitanju

Probaj da stavis expire headere za slicice kako treba, na brzinu sam nasao primer:
http://www.websiteoptimization.com/speed/tweak/cache/

Citat:
<Directory "/home/website/public_html">
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
ExpiresDefault A300
<FilesMatch "\.html$">
Expires A86400
</FilesMatch>
<FilesMatch "\.(gif|jpg|png|js|css)$">
Expires A2592000
</FilesMatch>
</Directory>

ExpiresDefault A300 sets the default expiry time to 300 seconds after access (A). Using M300 would set the expiry time to 300 seconds after file modification. The FilesMatch segment sets the cache-control header for all .html files to 86400 seconds (1 day). The second FilesMatch section sets the cache-control header for all images, external JavaScripts and CSS files to 2592000 seconds (30 days).
Naravno, samo treba izmeniti da je expiry vrlo kratak za slicice.
Koliko ja znam, browser bi trebao da osvezi svoj cache nakon tog perioda.
__________________
Năo quero mais seguir um só caminho
MorenoArdohain je offline   Odgovorite uz citat