Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
View gist:0d968c6e4eb605baee900e849af3c50d
___ Begin jemalloc statistics ___
Version: 3.6.0-11
Assertions disabled
Run-time option settings:
opt.abort: false
opt.lg_chunk: 22
opt.dss: "secondary"
opt.narenas: 8
opt.lg_dirty_mult: 3
opt.stats_print: true

Keybase proof

I hereby claim:

  • I am lfalcao on github.
  • I am lfalcao ( on keybase.
  • I have a public key whose fingerprint is 900B DD6A 695F 8D98 E232 6027 EB24 1FE9 3259 AA04

To claim this, I am signing this object:

lfalcao / gist:d1e0ae9ac267605967ff
Created July 14, 2015 03:19
nginx caching thumbor webp/jpg
View gist:d1e0ae9ac267605967ff
proxy_cache_path /tmp/nginx levels=1:2 keys_zone=my_zone:10m inactive=60m;
proxy_cache_key "$host$request_uri-$format";
server {
listen 999;
server_name _;
set $format jpg;
if ( $http_accept ~* 'webp' ) {
set $format webp;