Shawn M Moore > Jifty > Jifty::View::Static::Handler    Annotate
this POD   New  13 Open  4 Stalled  1 View/Report Bugs
Jifty::View::Static::Handler - Jifty view handler for static
files   This is deprecated and is being port to a stack of plack
middleware and plack::app::file  This class takes care of
serving out static files for a Jifty application.  When fully
operational, it will use an algorithm along the lines of the
following:  * Static files are served out of a separate root *
If static files go through apache: * How do we merge together
the N static roots? * If static files go through Jifty::Handler
* We need a flag to allow them to go through the dispatcher, too
* return "True" (304) for if-modified-since * if the browser
accepts gzipped data, see if we have a cached gzipped copy if
so, send it see if we have a marker indicating that gzip is a
lose if so, send uncompressed          gzip the content
send the gzipped content      * if the browser doesn't accept
gzipped content         send t