मुझे जेएस फाइलों पर ठीक से काम करने के लिए एक्सपियर हेडर नहीं मिल रहा है .. यह सीएसएस फाइलों पर ठीक काम करता है !?हेडर जावास्क्रिप्ट फ़ाइलों पर समाप्त हो गया है
क्या कोई मुझे बता सकता है कि मैं क्या गलत कर रहा हूं? :(
इनको
ExpiresActive on
ExpiresDefault A0
ExpiresByType image/gif A29030400
ExpiresByType image/jpeg A29030400
ExpiresByType image/png A29030400
ExpiresByType text/css A29030400
ExpiresByType text/javascript A29030400
ExpiresByType application/x-javascript A29030400
सीएसएस फ़ाइल पर हैडर
Cache-Control max-age=29030400
Connection Keep-Alive
Date Sun, 14 Oct 2012 12:06:45 GMT
Etag "be-4cbcf2ad48b40"
Expires Sun, 15 Sep 2013 12:06:45 GMT
Keep-Alive timeout=5, max=97
Server Apache/2.4.2 (Win64) PHP/5.4.3
जे एस फ़ाइल पर हैडर
Cache-Control max-age=0
Connection Keep-Alive
Date Sun, 14 Oct 2012 12:06:45 GMT
Etag "1ad-4cc00d069f493"
Expires Sun, 14 Oct 2012 12:06:45 GMT
Keep-Alive timeout=5, max=99
Server Apache/2.4.2 (Win64) PHP/5.4.3
एक परीक्षण के रूप में, htaccess फ़ाइल में मान जो वास्तव में दिखाए जा रहे हैं सीएसएस के लिए शीर्षलेख में? ईजी: यदि आप ए 2 9 030400 को किसी और चीज़ में बदलते हैं, तो क्या आप देखते हैं कि सेवित सीएसएस हेडर में दिखाई देता है? इसके अलावा , एक और परीक्षण, यदि आप एक अलग तरीके से इनको स्वरूपण कोशिश क्या होता है के रूप में: < "। \ (जे एस) $" filesMatch> '... ExpiresByType text/css A29030400 ExpiresDefault A29030400 ' ? – Tr1stan
एक उत्तर जोड़ें .. फाइलों के साथ reg exp समाधान समाधान काम करता है! : डी – clarkk
खुशी हुई यह मदद की, जवाब जोड़ा। – Tr1stan