wycats / rack-offline

A Rack and Rails plugin for building offline web applications
MIT License
666 stars 82 forks source link

Add font file types to the cache manifest #27

Open olivernn opened 11 years ago

olivernn commented 11 years ago

This adds .woff, .eot and .ttf files from the assets directory into the cache manifest.

gabetax commented 10 years ago

I actually have the same need, but beyond fonts, is there a reason we're whitelisting only certain extensions? Would it make more sense to Include everything, but blacklist the pre-compressed *.gz version of the assets (whose delivery is up to the web server)?