[Jifty-commit] r6762 - jifty/trunk/lib/Jifty/View/Static
Jifty commits
jifty-commit at lists.jifty.org
Thu Apr 9 18:40:34 EDT 2009
Author: alexmv
Date: Thu Apr 9 18:40:34 2009
New Revision: 6762
Modified:
jifty/trunk/lib/Jifty/View/Static/Handler.pm
Log:
Document send_http_header in static handler
Modified: jifty/trunk/lib/Jifty/View/Static/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Static/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/View/Static/Handler.pm Thu Apr 9 18:40:34 2009
@@ -257,6 +257,13 @@
}
}
+=head2 send_http_header [COMPRESSION, LENGTH, LAST_MODIFIED]
+
+Sends appropriate cache control and expiration headers such that the
+client will cache the content.
+
+=cut
+
sub send_http_header {
my $self = shift;
my ($compression, $length, $modified) = @_;
More information about the Jifty-commit
mailing list