Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Rodrigo Bistolfi Newsgroups: comp.lang.python Subject: Re: OT: limit number of connections from browser to my server? Date: Tue, 17 May 2016 08:57:59 -0300 Lines: 5 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de X9vPmbGPCLKFHSsPTQKGNwuhhNCzOLyaZBx6GR/2mcGg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:number': 0.07; 'cc:addr:python-list': 0.09; 'other)': 0.09; 'way:': 0.09; 'core.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:limit': 0.16; 'subject:server': 0.16; 'load': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.24; 'requests': 0.25; 'rest': 0.26; 'message-id:@mail.gmail.com': 0.27; '(maybe': 0.29; 'http': 0.33; 'loading': 0.33; 'received:google.com': 0.35; 'received:209.85': 0.36; 'framework': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'subject:from': 0.39; 'resources': 0.39; 'your': 0.60; 'here:': 0.63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=2u2qxb1aEw4xfkzeNznP93aOPiUMcGT3GEo9bfUVz2U=; b=W6q+iTk0x/TakraxWTrbuPBtACSx5RmefsbxSj8w/uZCxP6NdGNoMGhua31yZ6ZgLc kh5xcrk/wg7/5rZvZHkCvb40ekIiZyrpTVfYUF5M8J+IXv9wr+PHJWgitBRAQ2cVFVmg 9vYtznJ2kvBFidKIXaSACPW8s1sDM/nnlB0upVfD11K/zgZUEySdBClFxfhuzdkB0Lt0 f8JDpIPWbY+1qslZEV8Vo8tApyCPVfTfVKoe+kuQ45r/m/76radkp55tw23K+sjekZuf sfCHFKSlSjvLQk6fgmcxYZJ23x291FGIV0dU/lMoyJdJjgm+PHTgOFD/3Tluiv2tbZJR +Y2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=2u2qxb1aEw4xfkzeNznP93aOPiUMcGT3GEo9bfUVz2U=; b=k8+uaQOGJmZHqqMq8q7vA+83MBED8xVEvtcsju090N4NJoku7dp/cMSZAO0Wi/vVLp rBwriaoU/N0kAOZqGHeVeEgjKKt3Oyb1lx9P2gensBLI3rrdPiCeIloFpXPtbJluU1yz W8z31xx3XWanw++D+z4ow/VklRIV1vGpdCrbykPkdn0zr1+EvKYQtxRkVLoUmXKp9gFp chaWeY4kmCU9tW0nPJjAG90ZWDxqthn3r1WbOTX6c43LXc08K8gs5Tw1iZXu2ZnVpEhO AVN1b5a0xMXBu9ENlVXsNtcjSLAGr/gh4gtLr9uLgnVavmtHw3emdTCqgxwgky6p4pzs AY/w== X-Gm-Message-State: AOPr4FWnO7guOnnuoo4v5vUr4+6XjHXdazrBFauCbXyITDoxH+cmIfc8V6naVf3l8jvT3La3hL2Uys+XzzuaFw== X-Received: by 10.25.65.208 with SMTP id o199mr374762lfa.23.1463486280097; Tue, 17 May 2016 04:58:00 -0700 (PDT) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:108736 Long shot here: Create a JS framework for loading resources in a better way: 1. Load HTTP and your JS core. 2. Load the rest of the resources via JS (maybe using promises for chaining the requests one after the other)