Changed Static::Simple to pass an IO::File object to res->body
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
CommitLineData
d6d29b9b 1Revision history for Perl extension Catalyst::Plugin::Static::Simple
2
5224ce15 30.11
4 - Changed 5.5 writing method to pass an IO::File object directly to
5 $c->res->body.
6
be327929 70.10 2005-10-19 17:20:00
2cb3d585 8 - Added tt2 to the list of ignored extensions.
9 - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
10 process. This will improve memory usage and performance on larger
11 static files.
12 - Removed Apache integration feature. It is slower than serving
13 through Catalyst and as far as I know no one is using it. If you
14 need the best performance, use a separate Location block for static
15 content.
16
df701614 170.09 2005-10-07 13:40:00
8cc672a2 18 - Added new configuration options to improve security:
19 ignore_extensions - keep certain extensions from being static
20 - This option defaults to tt, html, and xhtml to prevent
21 template files from being accessible.
22 ignore_dirs - keep certain dirs from being static
fa43d6b5 23 - include_path is no longer experimental.
8cc672a2 24 - Added support for hiding log output, depends on Cat 5.50.
25 (Marcus Ramberg)
2de14076 26
e37ad815 270.08 2005-09-07 18:50:00
28 - Added tests for everything except Apache support.
2268e329 29
300.07 2005-09-05 21:05:00
31 - POD fixes. (Thomas L. Shinnick)
32
b1d96e3e 330.06 2005-09-05 15:40:00
34 - Moved initial file check into prepare_action so processing can
35 bypass other plugins.
36 - Added error-checking to static dir regexes.
37 - Cleaned up various code as per Best Practices.
38
d6d29b9b 390.05 2005-08-26 12:00:00
40 - Added use_apache option to enable the Apache DECLINED
41 support. Default is disabled as it appears Catalyst is
42 faster at serving the files!
43 - Added a check that Apache's DocumentRoot matches Catalyst's
44 root before serving DECLINED.
45 - Preload MIME::Types index during setup() so it's not built on
46 the first request.
47 - Added a note on performance of Apache vs. Catalyst.
48
490.04 2005-08-22 12:00:00
50 - Fixed bug where static files were searched for on every request
51 even without a file extension.
52 - Fixed bug where files without extensions in defined static dirs
53 were not served with text/plain.
54 - Consolidated the debug log messages.
55
560.03 2005-08-21 23:50:00
57 - Added config option for include_path to allow for multiple
58 directories with static files. This option should be
59 considered experimental!
60 - Documentation cleanups.
61
620.02 2005-08-16 18:00:00
63 - Return DECLINED when running under mod_perl to allow Apache to
64 serve the static file. This is not done when any custom MIME
65 types have been specified, however.
66
670.01 2005-08-11 22:00:00
68 - Initial release.