Commit Graph

7 Commits

Author SHA1 Message Date
Michael Snoyman
6228ccc351 Don't use lazy I/O in embedDirAt #149 2016-10-14 05:53:07 +03:00
Maciej Pietrzak
d1b8ba0e8a Fix parameter order for uglifyjs. 2015-08-02 17:40:49 +02:00
Michael Snoyman
7f1b06ecb3 Multiple threads for communicating with processes 2014-03-26 22:05:06 +02:00
John Lenz
a4690dd424 yesod-static: improve messages for embedded compression tools
When trying various compression tools, display some messages
to the user about which compression tool is used.

--HG--
extra : rebase_source : e90e6ed49317b91a0fbe90d94f437459926f59e7
2013-09-19 15:22:14 -05:00
John Lenz
380cdcd174 static: make Entry a setting type
In the future we might want to add new features to the
Entry.  I am currently thinking about source maps, where
a new field will need to be added to the Entry.  Therefore,
use Data.Default to make sure we don't need to bump the
major version for these features.
2013-09-17 11:03:00 -05:00
John Lenz
2ad3977712 static: add several embedded generators
This constains the generators to embed files, directories,
and javascript compression
2013-09-12 12:21:47 -05:00
John Lenz
f8a35ce0a0 static: Add an embedded static subsite
This commit adds just the subsite itself.  The subsite
works by running a list of generaters at compile time.
The entries produced by the generators are converted into
wai-app-static.WaiAppStatic.Storage.Embedded entries.  Also,
addStaticContent is supported via an IORef.  When a widget
produces static content (css, javascript), it is stuck into
the IORef inside the embedded static subsite.  The embedded
static subsite will then serve it from the IORef, properly
using a 304 response if the client already has the content.
2013-09-12 12:21:33 -05:00