السلام عليكم ورحمة الله وبركاته اخواني الاعزاء اول شي حبيت اسال كيف ممكن اخفي هذه المعلومات عن الي يسوي سكان الهة
Summary:
URL:
http://xxxxxx.com/Web server type:Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Cache Control Overview:
This page issued 0 requests for files totaling 0 bytes in size.
Of these 0 requests, 0 responses included cache expiration information.
وما معنى السطور الاخيرة يقول ان ما عندي cache ولكن شاهدت سوالف سوفت لقيت فيها معلومات
السؤال الثاني انا اريد ان اخزن الصور وهيجي شغلات على المستخدم على الجهاز
فقالولي اني احط هذا الكود للتخفيف
ExpiresActive On
ExpiresByType image/gif "access 1 week"
ExpiresByType image/jpeg "access 1 week"
ExpiresByType image/jpg "access 1 week"
ExpiresByType image/png "access 1 week"
ExpiresByType text/css "access 1 week"
ExpiresByType application/x-shockwave-flash "access 1 week"
ExpiresByType application/x-javascript "access 1 week"
<Files 403.shtml>
order allow,deny
allow from all
</Files>
وخلال تصفحي للنت شفت هذا الكود ويقولون يسرع وما اعرف ايش
# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
# Set up caching on media files for 1 year (forever?)
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A29030400
</FilesMatch>
# Set up caching on media files for 1 week
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
ExpiresDefault A604800
</FilesMatch>
# Set up 2 Hour caching on commonly updated files
<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresDefault A7200
</FilesMatch>
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|htm)$">
ExpiresActive Off
</FilesMatch>
شنو الفرق بينهم وهل يمكن احطهم الثنين في ملف htacess واحد ؟؟؟
تحيتي للجميع