Tags: bandwidth

Sort by: Date / Title /

  1. 9 years ago by spirit
    if ($request_uri ~* "\.(ico|css|js|gif|jpe?g|png)\?[0-9]+$") {
      access_log off;
      expires 31d;
      break;
    }
    # Matching URLs
    http://domain.com/stylesheets/blog.css?1221178271
    
    if ($request_uri ~* "\.(ico|gif|png|jpe?g|css|js|swf)(\?v\d\d?)?$") {
      access_log off;
      expires 31d;
      break;
    }
    # Matching URLs
    http://domain.com/stylesheets/blog.css
    http://domain.com/stylesheets/blog.css?v1
    http://domain.com/stylesheets/blog.css?v12
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2021"></script>
  2. 9 years ago by spirit
    1. location = /favicon.ico {
    2.     access_log off;
    3.     return 204;
    4.     # or empty_gif;
    5. }
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2018"></script>
  3. 10 years ago by reorx
    1. # MacOS is able to limit bandwith form specific protocol or source-ip on the fly. Creating an bandwidth limtation rule won't break your download
    2.  
    3. #Build a pipe with a limited bandwidth (example 1Mbits/s)
    4. sudo ipfw pipe 1 config bw 1Mbit/s
    5.  
    6. #Assign a rule to redirect the protocol on that pipe (for example http from www.example.com)
    7. sudo ipfw add 1 pipe 1 proto tcp src-port 80 src-ip www.example.com
    8.  
    9. #You can show your pipe like that
    10. sudo ipfw pipe show
    11.  
    12. #Delete the created pipe with that both comands
    13. # delete the redirection rule :
    14. sudo ipfw del 1
    15. # delete the pipe :
    16. sudo ipfw pipe 1 delete
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1105"></script>
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)