Gibt es nicht den Zweck, Images vorab zu laden, damit die Seite einfacher geladen werden kann?Gibt es einen Unterschied zwischen dem Laden von Bildern im Vergleich zum Cachen von Bildern?
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##
## GZIP ##
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
## GZIP ##
Ich war auf der Suche in Bilder mit Javascript Vorbelastung aber dann merkte ich, warten Sie eine Minute, ich schon, dass mit ein paar Zeilen in meiner .htaccess-Datei. Wenn ich das letztere habe, warum sollte ich das jscript brauchen?
* "... Ich mache das schon mit ein paar Zeilen in meiner .htaccess-Datei ... "Hä? Wie sagt Ihre '.htaccess' Datei dem Browser des Clients, Bilder vorher zu laden/zu laden? –
Bearbeitet zur Klarstellung – Snorlax