[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-devel
Subject: Re: [rt-devel] ckeditor.js always loaded
From: Christian Loos <cloos () netcologne ! de>
Date: 2014-04-07 9:37:55
Message-ID: 534271F3.2000205 () netcologne ! de
[Download RAW message or body]
Am 01.04.2014 18:37, schrieb Alex Vandiver:
> This pushes the ckeditor JS to being loaded on the first page load
> (generally the login page), where any delay is less noticeable than when
> a user is gung-ho to reply, and must wait for the JS to load. It also
> allows us to combine it with the existing JS, which works around the
> serial requesting which browsers do for resources from the same server.
>
> It does incur a small penalty on sites which have
> Set($MessageBoxRichText, 0) in their configurations, and for users that
> have disabled it in their preferences. However, caching amortizes this
> cost sufficiently that it far outweighs the code complexity that would
> come with a solution that attempts to "smartly" load the ckeditor JS (or
> not) on a per-page basis.
>
> - Alex
Thanks Alex.
I was so focused on the server side that I forgot about client side
browser caching.
Chris
--
RT Training - Dallas May 20-21
http://bestpractical.com/training
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic