Skip to content

Instantly share code, notes, and snippets.

@janglapuk
janglapuk / nginx-pagespeed-tweaks
Last active March 30, 2018 22:47
A note to tweaks page speed with Nginx
- Rebuild Nginx with PageSpeed module
https://www.digitalocean.com/community/tutorials/how-to-add-ngx_pagespeed-to-nginx-on-debian-8
- Enable GZIP
#---------------------------------------------------------------#
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
@janglapuk
janglapuk / gist_io_example.md
Created April 8, 2014 08:21
Just an example for gist.io

Hello there! This is a sample post for gist.io, a super-lightweight writing soapbox for hackers.

Now look up. Further. Above the post title. See that grey text with the gist ID?

Now back to me. That grey text is a link! Open that sucker in a new tab to see the source for this post. Also, I'm on a horse.

This is a major heading

If you peek at it with a web inspector, you'll see that it is a second-level heading. You can use first level headings, but they'll look just like the second level ones, and the gods of the HTML5 outlining algorithm will frown upon you.