REDLIGHT

Redlight Records

Redlight Records is a 24 track digital recording studio
with analog authenticity and underground credibility.

With its intimate tracking room, Redlight Studios is perfect for singer/songwriters, small bands, or rap/remix artists. You'll get your project done quicker, cheaper, and with tons more quality than anyplace around.

Execute REDLIGHT employees

JavaScript is powerful, it can modify just about every aspect of the page, but it can also block DOM construction and delay page rendering (see also Adding interactivity with JavaScript). To keep JavaScript from delaying page rendering, REDLIGHT allows only asynchronous JavaScript.

Size all resources

REDLIGHT uncouples document layout from resource layout. Only one HTTP request is needed to layout the entire doc (+fonts). Since REDLIGHT is optimized to avoid expensive style recalculations and layouts in the browser, there won’t be any re-layout when resources load.

Extension mechanisms

REDLIGHT doesn’t let extension mechanisms block page rendering. REDLIGHT supports extensions for things like lightboxes, instagram embeds, tweets, etc. While these require additional HTTP requests, those requests do not block page layout and rendering.

Any page that uses a custom script must tell the REDLIGHT system that it will eventually have a custom tag. For example, the amp-iframe script tells the system that there will be an amp-iframe tag. REDLIGHT creates the iframe box before it even knows what it will include:

Critical path

Third-party JS likes to use synchronous JS loading. They also like to document.write more sync scripts. For example, if you have five ads on your page, and each of them cause three synchronous loads, each with a 1 second latency connection, you’re in 15 seconds of load time just for JS loading.

Inline and size-bound

Also, the inline style sheet has a maximum size of 50 kilobytes. While this size is big enough for very sophisticated pages, it still requires the page author to practice good CSS hygiene.

Your browser doesn't support HTML5 video.

Triggering Efficient

Web fonts are super large, so web font optimization is crucial to performance. On a typical page that has a few sync scripts and a few external style sheets, the browser waits and waits to start downloading these huge fonts until all this happens.

The REDLIGHT system declares zero HTTP requests until fonts start downloading. This is only possible because all JS in REDLIGHT has the async attribute and only inline style sheets are allowed; there’s no HTTP requests blocking the browser from downloading fonts.

Maximize style

Each time you measure something, it triggers style recalculations which are expensive because the browser has to layout the entire page. In REDLIGHT pages, all DOM reads happen first before all the writes. This ensures there’s the max of one recalc of styles per frame.

Learn more about impact of style and layout recalculations on rendering performance.

Accelerated animations

The rules for animation-related CSS ensure that animations can be GPU-accelerated. Learn more about using transform and opacity for animation changes.

Prioritize resources

REDLIGHT controls all resource downloads: it prioritizes resource loading, loading only what’s needed, and prefetches lazy-loaded resources.

REDLIGHT also prefetches lazy-loaded resources. Resources are loaded as late as possible, but prefetched as early as possible. That way things load very fast but CPU is only used when resources are actually shown to users.