[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-17 Thread pang
> > I also noticed in the source code that puting main.css.gz in the same > directory as main.css will automatically serve the gzipped version with the > correct headers : that's pretty sweet. > I didn't know about it before though (it isn't documented), so I built my > own gzip management. >

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-16 Thread Louis Amon
> > Let's start saying that these optimizations are on the far End of your - > high end - project, right were you want to optimize till the last bit to > get < 200ms load times. This helps everyone to focus on the fact that these > operations need to be considered at that stage and that stage

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-16 Thread Niphlod
> > >> > Interesting point : using public CDNs for open-source resources vs > bundling them with your own code ? > > I will have to disagree on public CDNs being more reliable that private > ones. It's just mathematically wrong. > Public CDNs like cdnjs for instance will give an unstable

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-16 Thread Anthony
> > I will have to disagree on public CDNs being more reliable that private > ones. It's just mathematically wrong. > Public CDNs like cdnjs for instance will give an unstable bandwidth, > depending on the load they get, which you can't measure beforehand. > Owning your own high-end CDN

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-16 Thread Louis Amon
> > Are you really stating that your own CDN serving jquery is better than > https://code.jquery.com/jquery-2.1.4.min.js , both for SLA and speed ? That is not what I said. First of all, this whole "put vendors in bundle or not" issue only concerns the first request of a visitor, as any

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-16 Thread Anthony
> > @Anthony: when I said "private" I meant a Cloudflare account, so #2 > Hmm, then I wonder about your claims of "private" CDNs being more reliable. Is it the case that the cdnjs CDN being run by Cloudflare is less reliable than a regular Cloudflare account? Basically, I'm not disputing the

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-15 Thread JorgeH
good points. this thread should be pinned. Or includen in the book, wiki or similar. On Sunday, September 13, 2015 at 5:44:01 PM UTC-5, Louis Amon wrote: > > I'm opening a thread dedicated to website performance issues in web2py, > giving the answers I've got so far so that other may contribute

[web2py] Re: Web2py - Front-end performance optimization tutorial

2015-09-15 Thread Niphlod
there are a LOT of untruths here.maybe is the lack of the documentation, maybe the lack of willing to read it, but still I'll try to uncover them one by one. Let's start saying that these optimizations are on the far End of your - high end - project, right were you want to optimize