Committer: vad
LJSUP-11148: revert changesU trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm =================================================================== --- trunk/cgi-bin/Apache/LiveJournal.pm 2012-02-06 09:16:25 UTC (rev 21101) +++ trunk/cgi-bin/Apache/LiveJournal.pm 2012-02-06 09:17:21 UTC (rev 21102) @@ -2079,7 +2079,9 @@ } # other headers - LJ::Request->header_out(ETag => Compress::Zlib::crc32($html)); + my $html_md5 = md5_base64($html); + LJ::Request->header_out(ETag => $html_md5); + LJ::Request->header_out('Content-MD5' => $html_md5); # Let caches know that Accept-Encoding will change content LJ::Request->header_out('Vary', 'Accept-Encoding, ETag');