The definitive front-end performance guide.
If you want to add new tips or edit the existing ones, just go to the src/documents folder. There you can find all of them in Markdown (.md) format. Remember to add references on each tip that you write at References wiki.
-
Open your terminal and download DocPad through this command:
$ [sudo] npm install -g docpad@6.40.0
- Now clone it:
$ git clone git@github.com:<your-github-username>/browser-diet.git
- Then go to the project's folder:
$ cd browser-diet
- Install all dependencies:
$ docpad install
- And finally run:
$ docpad run
Now you can see the website running at localhost:9778
:D
Simply go to the docpad.coffee file and change the value of the currentLang
variable.
Then you just need to run docpad run
again.
We do care about it.
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
IE 9+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
This project uses DocPad, a static generator in NodeJS, and here's the basic structure:
. |-- out/ |-- src/ | |-- documents | |-- layouts | |-- partials `-- package.json
This is where the generated files are stored, once DocPad has been run. However, this directory is unnecessary for versioning, so it is ignored (.gitignore).
Contains all tips in Markdown (.md) format, in addition to images, fonts, CSS and JS files.
Contains the default template.
Contains reusable blocks of code.
Lists all NodeJS dependencies.
BrowserDiet was made with love by these people and a bunch of awesome contributors.
|
--- | --- | --- | --- | --- | --- | ---
Zeno Rocha
Liferay, Inc. |
|
--- | --- | --- | --- | --- | --- | ---
Briza Bueno
Americanas |
|
|
--- | --- | --- | --- | --- | --- | ---
Davidson Fellipe
Globo.com | Giovanni Keppelen
Planedia | Jaydson Gomes
Terra
|
|
--- | --- | --- | --- | --- | --- | ---
Marcel Duran
Twitter | Renato Mangini
Google | Sérgio Lopes
Caelum
Mike Taylor English |
Emilio Álvarez Spanish |
Lukasz Jakub Polish |
Fordlee Chinese |
Nicolas Carlo French |
Tomas Dvorak Czech |
Makoto Tateno Japanese |
- DocPad by Benjamin Lupton
- Highlight.js by Ivan Sagalaev
- Pacifico by Vernon Adams
- Open Sans by Steve Matteson
- Horseshoes by Lauren Ashpole
- The 56 Geeks Project by Scott Johnson
- Flag Icon Set by GoSquared
Code is under MIT license and content is under Creative Commons BY-SA 3.0