11-25-2002
Quote:
Originally posted by Neo
Perhaps you should upgrade to Netscape 6.0 or better.
A friend of mine just had a similar problem with Netscape and Macromedia SWF (shockwave, flash) running an older version on Netscape.
Latest version is 7.0, BTW:
http://channels.netscape.com/ns/browsers/download.jsp
That's not an option at work. But Silk Road works fine and isn't ugly. And while they allow me to use any Netscape, I'm leaving MSIE out of the picture as much as I can. (At home on FreeBSD, I use Mozilla 1.)
6 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi, I pop in here every so oftern and was suprised to see the changes in colour. I think the new style/colour is great :D (1 Reply)
Discussion started by: Ralf
1 Replies
2. Shell Programming and Scripting
friends
Is it possible to implement perl style autoincriment in python?
e.g
i++
How it can be represented in python
Jagan (1 Reply)
Discussion started by: jaganadh
1 Replies
3. Solaris
How would one go about adding or removing the applications (keyboard, mouse, beep, screen, etc) from CDE's style manager (/usr/dt/bin/dtstyle)?
running solaris 5.10 (4 Replies)
Discussion started by: eddiet
4 Replies
4. What is on Your Mind?
Does any one know what uucp stands for, what gopher is, does any one go BBS and edit with ed? If yes, are there any uucp providers today? Sometimes i get bored by all the Web @@@@ , and feel lonely in the world without uucp and free (realy free - no stupid Spamhaus etc) mailing lists.
TIA
Action (14 Replies)
Discussion started by: Action
14 Replies
5. Programming
Is there any opensource tool which can check the coding style use in C/C++ program. (3 Replies)
Discussion started by: zinat
3 Replies
6. Shell Programming and Scripting
Hello all,
I would like to know if there is a generally accepted unix shell programming Guideline?
Do you have any idea where to find this?
There are a lot of programming Guidelines to find over Google, but is there one who is generally accepted? (3 Replies)
Discussion started by: API
3 Replies
LEARN ABOUT DEBIAN
plack::middleware::deflater
Plack::Middleware::Deflater(3pm) User Contributed Perl Documentation Plack::Middleware::Deflater(3pm)
NAME
Plack::Middleware::Deflater - Compress response body with Gzip or Deflate
SYNOPSIS
use Plack::Builder;
builder {
enable sub {
my $app = shift;
sub {
my $env = shift;
my $ua = $env->{HTTP_USER_AGENT} || '';
# Netscape has some problem
$env->{"psgix.compress-only-text/html"} = 1 if $ua =~ m!^Mozilla/4!;
# Netscape 4.06-4.08 have some more problems
$env->{"psgix.no-compress"} = 1 if $ua =~ m!^Mozilla/4.0[678]!;
# MSIE (7|8) masquerades as Netscape, but it is fine
if ( $ua =~ m!MSIE (?:7|8)! ) {
$env->{"psgix.no-compress"} = 0;
$env->{"psgix.compress-only-text/html"} = 0;
}
$app->($env);
}
};
enable "Deflater",
content_type => ['text/css','text/html','text/javascript','application/javascript'],
vary_user_agent => 1;
sub { [200,['Content-Type','text/html'],["OK"]] }
};
DESCRIPTION
Plack::Middleware::Deflater is a middleware to encode your response body in gzip or deflate, based on "Accept-Encoding" HTTP request
header. It would save the bandwidth a little bit but should increase the Plack server load, so ideally you should handle this on the
frontend reverse proxy servers.
This middleware removes "Content-Length" and streams encoded content, which means the server should support HTTP/1.1 chunked response or
downgrade to HTTP/1.0 and closes the connection.
CONFIGURATIONS
content_type
content_type => 'text/html',
content_type => [ 'text/html', 'text/css', 'text/javascript', 'application/javascript', 'application/x-javascript' ]
Content-Type header to apply deflater. if content-type is not defined, Deflater will try to deflate all contents.
vary_user_agent
vary_user_agent => 1
Add "User-Agent" to Vary header.
ENVIRONMENT VALUE
psgix.no-compress
Do not apply deflater
psgix.compress-only-text/html
Apply deflater only if content_type is "text/html"
LICENSE
This software is licensed under the same terms as Perl itself.
AUTHOR
Tatsuhiko Miyagawa
SEE ALSO
Plack, <http://httpd.apache.org/docs/2.2/en/mod/mod_deflate.html>
perl v5.14.2 2012-06-18 Plack::Middleware::Deflater(3pm)