کند شدن سایت

vbsupport

تازه وارد
سلام

از هفته پیش سایت خیلی کند شده!

نه تغییری تو تنظیمات دادیم و نه چیزی نصب کردیم

از سرور پرسیدیم اوناهم اعلام کردن تغییراتی نداشتن و گفتن مشکل از بارگذاری سایت هست

حالا چطور میتونم بفهمم سایت وقتی داره لود میشه بخصوص صفحه اول رو چی مشکل داره و طول میکشه؟

erkabook.com  با توجه به اینکه صبح سرور عوض کردیم برای تست شاید نسخه قدیمی ( خطا در برقراری ارتباط با پایگاه‌داده ) را مشاهده کنید

 

Alaric

کاربر عضو
در حال حاضر شما خطا در برقراری با پایگاه داده دارید ما نمی تونیم بررسی کنیم. لطفا مشکل خود را برطرف کنید و مجددا در همین تاپیک اعلام کنید تا بتونیم مشکل شما رو بررسی کنیم.

 

Alaric

کاربر عضو
https://gtmetrix.com/reports/erkabook.com/5uoSqAdk


تصاویر تون رو بهینه سازی کنید برای سایت تون سیستم کش فعال کنید.

 

vbsupport

تازه وارد
https://gtmetrix.com/reports/erkabook.com/5uoSqAdk


تصاویر تون رو بهینه سازی کنید برای سایت تون سیستم کش فعال کنید.
بله حق با شماست

اما تو این یک هفته حتی یکدونه عکس هم اضافه نشده و سرعت دقیقا نصف شده!!

از کجا میشه فهمید تو لود اول چه چیزی انقدر سنگین میکنه؟

 

Alaric

کاربر عضو
تو صفحه ای که براتون گذاشتم اطلاعاتش موجود صفحه اول شما نزدیک 3 مگ هستش و 133 Request داره این تعداد بالا از تقریبا میانگین 70 تا بالاتره باید کاهش پیدا کنه.

اگه از قبلا سرعت بهتر بوده الان کند تر شده شاید شما از سرویس هاست های اشتراکی استفاده می کنید که طبیعتا با افزایش کاربر و سایت روی اون هاست اشتراکی استفاده از منابع هاست بالاتر میره.

 

vbsupport

تازه وارد
بسیاری از خطاها مخصوصا تصاویر را تصحیح کردیم

ولی اینا که مونده دقیقا چیکارش باید بکنیم؟

درصورت امکان توضیح بدین



 

Alaric

کاربر عضو
خوب الان سرعت لود شما بهتر شده

https://gtmetrix.com/reports/www.erkabook.com/2ZMP170S


شما میتونید از طریق htaccess سرعت سایت خودتون رو افزایش بدید:

کد:
# BEGIN Compress text files
<ifModule mod_deflate.c>
<filesMatch "\.(css|js|x?html?|php|woff|ttf|png|jpg|gif)$">
SetOutputFilter DEFLATE
</filesMatch>
</ifModule>
# END Compress text files
کد:
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
</ifModule>
# END Expire headers
# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf|woff|ttf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "max-age=2592000, private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
</filesMatch>
</ifModule>
# END Cache-Control Headers
# BEGIN Turn ETags Off
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
# END Turn ETags Off
# BEGIN Remove Last-Modified Header
<ifModule mod_headers.c>
Header unset Last-Modified
</ifModule>
# END Remove Last-Modified Header
 

vbsupport

تازه وارد
خوب الان سرعت لود شما بهتر شده

https://gtmetrix.com/reports/www.erkabook.com/2ZMP170S


شما میتونید از طریق htaccess سرعت سایت خودتون رو افزایش بدید:

# BEGIN Compress text files
<ifModule mod_deflate.c>
<filesMatch "\.(css|js|x?html?|php|woff|ttf|png|jpg|gif)$">
SetOutputFilter DEFLATE
</filesMatch>
</ifModule>
# END Compress text files

کد:
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
</ifModule>
# END Expire headers
# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf|woff|ttf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "max-age=2592000, private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
</filesMatch>
</ifModule>
# END Cache-Control Headers
# BEGIN Turn ETags Off
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
# END Turn ETags Off
# BEGIN Remove Last-Modified Header
<ifModule mod_headers.c>
Header unset Last-Modified
</ifModule>
# END Remove Last-Modified Header

مرسی خیلی بهتر شد زیر 8 ثانیه سایت لود میشه

فقط مشکلی که ایجاد شده گزینه ویرایش سریع ووکامرس کار نمیکنه دیگه

کلیک میکنیم روش میپره بالای صفحه

 

mostafa98

کاربر عضو
سلام

فایل ها رو جایگزین فایل های قبلی بکن

فایلها بهینه شده

لینک دانلود :

کد:
http://up.persianscript.ir/uploads2/f438-optimized-contents-by-Artemen.zip
 

vbsupport

تازه وارد
تداخل یکی از افزونه ها بود که حل شد

مرسی از شما دوستان بخصوص دوست عزیز alaric که صبورانه همراهی و پیگیر بودند.

 
بالا