انجمن


افزایش سرعت بارگذاری سایت  (۴ نوشته)

  • p30pdf

    آفلاین
    عضو
    تعداد نوشته‌ها: ۳
    # نوشته شده: ۱۲ سال پیش
    ۴ شهریور ۱۳۹۰ - ۱۲:۴۷

    سلام دوستان می خوام بدونم این یعنی چی و چه طوری باید بر طرفش کرد

    ادرس سایت

    ادرس سایتی که بالا قرار دادمش نشون میده که سرعت سایت چه طوری هست اما وقتی به تب Yslow میریم گزینه سوم یعنی Use cookie-free domains اخطار داره می خوام این رو برطرف کنم باید چی کار کنم آموزشش رو هم خودش گفته متاسفانه انگلیسیم زیاد خوب نیست نمی دونم چه کار باید کنم

    اینم Yslow

    از طریق این لینک زیر هم می تونید آموزشش رو بخونید اما من یاد ندارم چون انگلیسی هست چه کار کنم این خطا درست شه
    لینک رفرنس

  • p30pdf

    آفلاین
    عضو
    تعداد نوشته‌ها: ۳
    # نوشته شده: ۱۲ سال پیش
    ۴ شهریور ۱۳۹۰ - ۱۸:۴۷

    دوستان این مطالب تخصصی هست مربوط به سئو سایت میشه و افزایش سرعت سایت خواهش می کنم از یه نفر که وارد هست اینا رو برای من ترجمه کنه من زبانم خوب نیست

    Avoid a universal key selector

    Allow elements to inherit from ancestors, or use a class to apply a style to multiple elements.
    Make your rules as specific as possible

    Prefer class and ID selectors over tag selectors.
    Remove redundant qualifiers

    These qualifiers are redundant:

    * ID selectors qualified by class and/or tag selectors
    * Class selectors qualified by tag selectors (when a class is only used for one tag, which is a good design practice anyway).

    Avoid using descendant selectors, especially those that specify redundant ancestors

    For example, the rule body ul li a {...} specifies a redundant body selector, since all elements are descendants of the body tag.
    Use class selectors instead of descendant selectors

    For example, if you need two different styles for an unordered list item and an ordered list item, instead of using two rules:

    ul li {color: blue;}
    ol li {color: red;}

    You could encode the styles into two class names and use those in your rules; e.g:

    .unordered-list-item {color: blue;}
    .ordered-list-item {color: red;}

    If you must use descendant selectors, prefer child selectors, which at least only require evaluation of one additional node, not all the intermediate nodes up to an ancestor.
    Avoid the :hover pseudo-selector for non-link elements for IE clients

    If you use :hover on non-anchor elements, test the page in IE7 and IE8 to be sure your page is usable. If you find that :hover is causing performance issues, consider conditionally using a JavaScript onmouseover event handler for IE clients.

  • amirsaam

    آفلاین
    عضو
    تعداد نوشته‌ها: ۷۵۵
    تشکر شده: ۵۸۹ بار
    # نوشته شده: ۱۲ سال پیش
    ۴ شهریور ۱۳۹۰ - ۱۹:۱۵

    دوست عزیز شما دارید کار رو سخت میکنید. اول از همه از CDN استفاده کنید که اینجا توضیحات کاملی درباره ش داده شده. بعد از اون هم از افزونه های کش استفاده کنید.

  • p30pdf

    آفلاین
    عضو
    تعداد نوشته‌ها: ۳
    # نوشته شده: ۱۲ سال پیش
    ۵ شهریور ۱۳۹۰ - ۲۰:۳۶

    دوستان این گزینه یعنی چی

    Use cookie-free domains

    There are 6 components that are not cookie-free
    چه طوری میشه این خطا رو حل کرد

درباره‌ی این موضوع



برچسب‌ها