hellsgate 0 ارسال شده در بهمن 98 گزارش بازنشر ارسال شده در بهمن 98 سلام و وقت بخیر خدمت دوستان سایت ما در جی تی متریکس ارور Leverage browser caching داره سرچ کردم و دیدم بسیاری از دوستان اعلام کردند کدی هست باید در htaccess قرار بدید تا مشکل رفع بشه , من این کد رو قرار دادم اما با وجود قرار دادن این کد هم مشکل همچنان هست و رفع نمیشه میخواستم راهنمایی کنید ببینم مشکل از کجاست ؟ در ضمن از افزونه ای هم که مخصوص این کار هست هم استفاده کردم ولی بازهم این ارور رفع نشده که نشده از چند نمونه کد زیر استفاده کردم : <IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 month" # My favicon ExpiresByType image/x-icon "access plus 1 year" # Images ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" # CSS ExpiresByType text/css "access 1 month" # Javascript ExpiresByType application/javascript "access plus 1 year" </IfModule> و <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 application/pdf "access 1 month" ExpiresByType application/javascript "access 1 month" ExpiresByType application/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## EXPIRES HEADER CACHING ## ممنون میشم از دوستان عزیز اگر دلیل این مسئله میدونن راهنمایی کنند نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .