Skip to content

neutroncreations/squish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Squish

Squish is a way of writing fast, static HTML sites.

Instead of re-requesting every time you want another page from the site, Squish takes all your pages and caches them in Javascript on whatever page you're on.

Limitations

• Squish can't replace <body> tags just yet. That means if you're putting classes on your <body> tag, you're outta luck. Put a <div> around your content with your classes and you're golden. Pull request or GTFO.

• Because pushState doesn't work under file:/// URLs, neither does Squish. You may want to use http://anvilformac.com/ ;)

USAGE

$ ruby squish.rb assets/javascripts
<script type="text/javascript" src="squish.js"></script>

About

Squish - make your static sites even faster!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published