نمایش نتایج: از شماره 1 تا 2 از مجموع 2

موضوع: Refresh Pattern برای Update های Microsoft

  
  1. #1
    نام حقيقي: امید مهاجرانی

    عضو عادی
    تاریخ عضویت
    Dec 2005
    محل سکونت
    Tehran
    نوشته
    782
    سپاسگزاری شده
    725
    سپاسگزاری کرده
    79

    Refresh Pattern برای Update های Microsoft

    سلام .اول بگم که این تاپیک تکراری نیست و من قبلا ایجا راه اندازی و بهینه سازی Squid و کنترل پهنای باند را خوندم ولی این refresh pattern ها کار نمیکنه و پهنای باند من همین طور داره برای update این ویندوز و یاهو مسنجر میره .
    من یه خورده گوگل کردم و این http://lists.debian.org/debian-isp/2.../msg00041.html را پیدا کردم

    a useful set of refresh_patterns for squid.

    there was one typo ("*." rather than ".*") in the first regexp, and three of
    the regexps could be re-written in a more generic form, so that they're not
    tied to particular versions of the service packs.

    also, a literal "." should always be written as "\." in a regexp, otherwise it
    matches *any* character.


    # refresh patterns to enable caching of MS windows update
    refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://office\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims

    # the next two can be rewritten as one regexp, which should also match other
    # SP versions.
    #refresh_pattern http://wxpsp2\.microsoft\.com/ 0 80% 20160 reload-into-ims
    #refresh_pattern http://xpsp1\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://w?xpsp[0-9]\.microsoft\.com/ 0 80% 20160 reload-into-ims

    # ditto for the next one.
    #refresh_pattern http://w2ksp4\.microsoft\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://w2ksp[0-9]\.microsoft\.com/ 0 80% 20160 reload-into-ims

    refresh_pattern http://download\.microsoft\.com/ 0 80% 20160 reload-into-ims

    # and some other windows updaters
    refresh_pattern http://download\.macromedia\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern ftp://ftp\.nai\.com/ 0 80% 20160 reload-into-ims
    refresh_pattern http://ftp\.software\.ibm\.com/ 0 80% 20160 reload-into-ims

    (محتویات لینک را اینجا نوشتم تا اگر آدرسش عوض شد بارهم این تاپیک قابل استفاده باشه حالا اگر یه خورده طولانیه ببخشید)
    ولی وقتی این refresh pattern ها را به اینصورت وارد squid.conf میکنم ازم ایراد میگیره و سرویسش start نمیشه . حالا نمیدونم باید چیکار کنم؟



    موضوعات مشابه:

  2. #2
    نام حقيقي: امید مهاجرانی

    عضو عادی
    تاریخ عضویت
    Dec 2005
    محل سکونت
    Tehran
    نوشته
    782
    سپاسگزاری شده
    725
    سپاسگزاری کرده
    79
    من در حال حاضر از این Refresh Pattern ها استفاده میکنم:

    refresh_pattern cgi-bin 1 20% 2
    refresh_pattern \.asp$ 1 20% 2
    refresh_pattern \.acgi$ 1 20% 2
    refresh_pattern \.cgi$ 1 20% 2
    refresh_pattern \.pl$ 1 20% 2
    refresh_pattern \.shtml$ 1 20% 2
    refresh_pattern \.php3$ 1 20% 2
    refresh_pattern \? 1 20% 2
    refresh_pattern \.gif$ 10080 90% 43200
    refresh_pattern \.jpg$ 10080 90% 43200
    refresh_pattern \.bom\.gov\.au 30 20% 120
    refresh_pattern \.html$ 480 50% 22160
    refresh_pattern \.htm$ 480 50% 22160
    refresh_pattern \.class$ 10080 90% 43200
    refresh_pattern \.zip$ 10080 90% 43200
    refresh_pattern \.jpeg$ 10080 90% 43200
    refresh_pattern \.mid$ 10080 90% 43200
    refresh_pattern \.shtml$ 480 50% 22160
    refresh_pattern \.exe$ 10080 90% 43200
    refresh_pattern \.thm$ 10080 90% 43200
    refresh_pattern \.wav$ 10080 90% 43200
    refresh_pattern \.txt$ 10080 90% 43200
    refresh_pattern \.cab$ 10080 90% 43200
    refresh_pattern \.au$ 10080 90% 43200
    refresh_pattern \.mov$ 10080 90% 43200
    refresh_pattern \.xbm$ 10080 90% 43200
    refresh_pattern \.ram$ 10080 90% 43200
    refresh_pattern \.avi$ 10080 90% 43200
    refresh_pattern \.chtml$ 480 50% 22160
    refresh_pattern \.thb$ 10080 90% 43200
    refresh_pattern \.dcr$ 10080 90% 43200
    refresh_pattern \.bmp$ 10080 90% 43200
    refresh_pattern \.phtml$ 480 50% 22160
    refresh_pattern \.mpg$ 10080 90% 43200
    refresh_pattern \.pdf$ 10080 90% 43200
    refresh_pattern \.art$ 10080 90% 43200
    refresh_pattern \.swf$ 10080 90% 43200
    refresh_pattern \.mp3$ 10080 90% 43200
    refresh_pattern \.ra$ 10080 90% 43200
    refresh_pattern \.spl$ 10080 90% 43200
    refresh_pattern \.viv$ 10080 90% 43200
    refresh_pattern \.doc$ 10080 90% 43200
    refresh_pattern \.gz$ 10080 90% 43200
    refresh_pattern \.Z$ 10080 90% 43200
    refresh_pattern \.tgz$ 10080 90% 43200
    refresh_pattern \.tar$ 10080 90% 43200
    refresh_pattern \.vrm$ 10080 90% 43200
    refresh_pattern \.vrml$ 10080 90% 43200
    refresh_pattern \.aif$ 10080 90% 43200
    refresh_pattern \.aifc$ 10080 90% 43200
    refresh_pattern \.aiff$ 10080 90% 43200
    refresh_pattern \.arj$ 10080 90% 43200
    refresh_pattern \.c$ 10080 90% 43200
    refresh_pattern \.cpt$ 10080 90% 43200
    refresh_pattern \.dir$ 10080 90% 43200
    refresh_pattern \.dxr$ 10080 90% 43200
    refresh_pattern \.hqx$ 10080 90% 43200
    refresh_pattern \.jpe$ 10080 90% 43200
    refresh_pattern \.lha$ 10080 90% 43200
    refresh_pattern \.lzh$ 10080 90% 43200
    refresh_pattern \.midi$ 10080 90% 43200
    refresh_pattern \.movie$ 10080 90% 43200
    refresh_pattern \.mp2$ 10080 90% 43200
    refresh_pattern \.mpe$ 10080 90% 43200
    refresh_pattern \.mpeg$ 10080 90% 43200
    refresh_pattern \.mpga$ 10080 90% 43200
    refresh_pattern \.pl$ 10080 90% 43200
    refresh_pattern \.ppt$ 10080 90% 43200
    refresh_pattern \.ps$ 10080 90% 43200
    refresh_pattern \.qt$ 10080 90% 43200
    refresh_pattern \.qtm$ 10080 90% 43200
    refresh_pattern \.ras$ 10080 90% 43200
    refresh_pattern \.sea$ 10080 90% 43200
    refresh_pattern \.sit$ 10080 90% 43200
    refresh_pattern \.tif$ 10080 90% 43200
    refresh_pattern \.tiff$ 10080 90% 43200
    refresh_pattern \.snd$ 10080 90% 43200
    refresh_pattern \.wrl$ 10080 90% 43200
    refresh_pattern ^ftp:// 480 60% 22160
    refresh_pattern ^gopher:// 30 20% 120
    # If nothing else matches, use this rule
    refresh_pattern . 480 50% 22160

    که بجز update های microsoft و yahoo messneger و آنتی یروس ها خیلی خوب کار میکنه .
    فقط مونده این updateهای ...



کلمات کلیدی در جستجوها:

refresh_pattern

refresh pattern windowsupdate

refresh_pattern -i .html$

refresh pattern

refresh_pattern -i .*.microsoft.com.*

رفرش پترن بهینه در اسکوئید

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •