fix gzip size in docs

This commit is contained in:
Leo Horie 2015-07-07 11:41:47 -04:00
parent fe7d0b6c9f
commit 55aedaabbc
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ This page aims to provide a comparison between Mithril and some of the most wide
### Code Size
One of the most obvious differences between Mithril and most frameworks is in file size: Mithril is around 12kb gzipped and has no dependencies on other libraries.
One of the most obvious differences between Mithril and most frameworks is in file size: Mithril is around 8kb gzipped and has no dependencies on other libraries.
Note that while a small gzipped size can look appealing, that number is often used to "hide the weight" of the uncompressed code: remember that the decompressed Javascript still needs to be parsed and evaluated on every page load, and this cost (which can be in the dozens of milliseconds range for some frameworks in some browsers) cannot be cached.

View file

@ -4,7 +4,7 @@
Mithril is a client-side Javascript MVC framework, i.e. it's a tool to make application code divided into a data layer (called **M**odel), a UI layer (called **V**iew), and a glue layer (called **C**ontroller)
Mithril is around 12kb gzipped thanks to its [small, focused, API](mithril.md). It provides a templating engine with a virtual DOM diff implementation for performant rendering, utilities for high-level modelling via functional composition, as well as support for routing and componentization.
Mithril is around 8kb gzipped thanks to its [small, focused, API](mithril.md). It provides a templating engine with a virtual DOM diff implementation for performant rendering, utilities for high-level modelling via functional composition, as well as support for routing and componentization.
The goal of the framework is to make application code discoverable, readable and maintainable, and hopefully help you become an even better developer.

View file

@ -50,7 +50,7 @@
<div class="feature col(4,4,12)">
<h2>Light-weight</h2>
<ul>
<li>Only 12kb gzipped, no dependencies</li>
<li>Only 8kb gzipped, no dependencies</li>
<li>Small API, small learning curve</li>
</ul>
</div>