Homebrew Perl CMS with gzip compression... pls test!

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Fri Jul 23, 2004 8:10 pm    Post subject: Homebrew Perl CMS with gzip compression... pls test! Reply with quote

Could folks check these pages for compatibility with various browsers, except for IE for which I've disabled gzip?

http://stone-d.dyndns.org:88/cms/index.pl (Framed)

http://stone-d.dyndns.org:88/cms/index.pl?IDXBody (Main Frame)
http://stone-d.dyndns.org:88/cms/index.pl?SideBar (Panel Frame)

HTML and CSS content are compressed for Opera, Moz/Gecko, Safari. If you're on IE and you spoof pretending to be one of them, you'll most likely get a pageful of binary cack. Unspoofed, the pages are not compressed.
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Fri Jul 23, 2004 9:32 pm    Post subject: Reply with quote

Tried it in Mozilla, and it looks like it works.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Sat Jul 24, 2004 1:04 am    Post subject: Reply with quote

Opera = pass :D
_________________
Olly
Back to top View user's profile Send private message
Foxified
-


Joined: 13 Apr 2004
Posts: 487
Location: Canada

PostPosted: Sat Jul 24, 2004 1:21 am    Post subject: Reply with quote

netscape 4.7 + = pass

Lynx browser= failed :(

safari (apple browser) = passed with flying colors.
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Sat Jul 24, 2004 7:18 pm    Post subject: Reply with quote

Cheers guys. glad about safari - didn't test it, just a stab in the dark that it would work. ;)

As for lynx, hmm. Downloading now as I type. The site doesn't look optimum in Opera's text-browser emulation mode, so I've been meaning to grab that for a while now to see what I can do about it.

I'm concurrently developing this personal page together with a secure page for company use for accessing DB queries. The gzip tests have been a total success for that... not only for improving connections on modems, but also in getting employees to switch browsers away from IE. :D

DB queries during this test phase can run up to several megs per page, which is where gzip is such a boon :

Compressed : 86421 bytes. Uncompressed : 1796626 bytes.

lol.

BTW, if anyone's wondering how I got that compression data to show up at the bottom of a gzipped page, don't send a Content-Length header.
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Sun Jul 25, 2004 8:22 pm    Post subject: Reply with quote

Right, I think I've fixed everything.

Please point your browsers to http://stone-d.dyndns.org/

Lynx users may need to use http://stone-d.dyndns.org:88/ - this is because mailtraq is virtual-hosting two abyss servers until abyss comes out of beta. Mailtraq is sending HTTP/1.0 301 Moved Permanenty notice after I send the "Location: " header, but with Lynx the program seems to just freeze up.

But, then again, I only installed lynx this afternoon, so I'm probably missing something. 2.8.5rel1, win32.

For Lynx, you don't get the panel on the left. Not a biggy, as explained in my compatibility page. Otherwise, it seems to be working nicely!

But that's on my comp, so, please guys, testy testy? :)

At the bottom of most pages, there is this string :

SD-CMS : v0.? | Gzip Status : ? | Page Hits : ?

SD-CMS is my interim name for my scripts. That's the version number.

Gzip status will say one of "Disabled", "HTML" or "HTML/CSS/JS", indicating what is being compressed for your browser. If you're not using IE and its disabled AND you know it supports it, plz let me know, eh? :) At the moment, only Opera and Safari are enjoying full compression. Safari is a guess - does it work okay with this? I disabled Mozilla for JS/CSS because, althought it supports it, occasionally it seems to give up transfering the data for JS or CSS and shows the page without the benefit of that file. With the sidebar, this either results in no CSS or nothing in the combo boxes. But, not always. Hmmm.

Page Hits shows, err, page hits for every page that isn't a frame page, a javascript or a css file. IP caching is enforced, so if you immediately hit refresh, it won't update. BUT if you do so after someone else goes in, then it will update. It only tracks the last known IP. Based off mcount 3.0 by Matt Riffle.

Oops, seem to have rambled a bit. Sorry. :P
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun Jul 25, 2004 10:07 pm    Post subject: Reply with quote

Ok, I think the Lynx was just a joke, but if you really want to know, I tried it in Lynx and it looked good (or whatever good can mean).
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Mon Jul 26, 2004 3:20 am    Post subject: Reply with quote

LOL. Joke or no, its good to hear. Cheers for the test.

My end goal is to have the site usable on all modern devices, including mobile phones in particular. I already check my pages with Opera's built-sin "Small Screen" mode (I always suggest that people get phones compatible with Opera) and it looks great, like an RSS feed actually.

Having it look good in Lynx half-ensures that A) it will be viable in pretty much any browser and B) I won't get people emailing me with accessibility issues.

Ya see, I'm a lazy bast. My homepage and my company's internal site uses the same code - css, js, etc.

Now all that I need to do is fill it with content. LOL. ;)
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Mon Jul 26, 2004 7:22 am    Post subject: Reply with quote

Stone-D wrote:
My end goal is to have the site usable on all modern devices

I wouldn't exactly call Lynx modern =).
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Mon Jul 26, 2004 11:50 am    Post subject: Reply with quote

iNaNimAtE wrote:
I wouldn't exactly call Lynx modern =).


LOL, true! It is still being worked on and updated tho.

The thing is, it was very VERY easy to get it working well with Lynx - not so with, say, NS 4.xx, IE 5 etc.
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
Foxified
-


Joined: 13 Apr 2004
Posts: 487
Location: Canada

PostPosted: Wed Jul 28, 2004 5:19 am    Post subject: Re: Homebrew Perl CMS with gzip compression... pls test! Reply with quote

Quote:
Error 404

Not Found

Proteus Technologies


whats this, did you ever use AByss, :(?

edit:

Failed ON NCSA Mosiac Browser

Failed on Cern line-mode www browser

Failed on Mosiac 0.9 Netscape

Failed on Netscape 1.0

Failed on I.E 2
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address MSN Messenger
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Wed Jul 28, 2004 9:10 am    Post subject: Reply with quote

Yes, that sounds like something you should most definitely be concerned about.

Especially the IE 2.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Wed Jul 28, 2004 5:47 pm    Post subject: Re: Homebrew Perl CMS with gzip compression... pls test! Reply with quote

Foxified wrote:
Error 404
Not Found
Proteus Technologies

whats this, did you ever use AByss, :(?


LOL, forgot about that. Its actually the latest abyss beta, I just messed with the ID strings. Yes, I'm one of those. =)

Quote:
edit:
Failed ON NCSA Mosiac Browser
Failed on Cern line-mode www browser
Failed on Mosiac 0.9 Netscape
Failed on Netscape 1.0
Failed on I.E 2


Hmmmphf. Got Mosaic 0.9, gotta go hunt down the others on evolt.

Thanks! Now I've got something to do at work tomorrow. LOL. ;)

iNaNimAtE wrote:
Yes, that sounds like something you should most definitely be concerned about.


Heh, someone I knew a while back on #alt.fan.elite was a major html nazi. Haven't seen him for a while, but when I do, I want to be able to say "So... found anything wrong with my site yet?" and be confident enough to be semi smug about it. LOL.

Quote:
Especially the IE 2.


Erm, true. I think I'll give that one a miss actually. =)
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
Foxified
-


Joined: 13 Apr 2004
Posts: 487
Location: Canada

PostPosted: Wed Jul 28, 2004 10:31 pm    Post subject: Re: Homebrew Perl CMS with gzip compression... pls test! Reply with quote

Stone-D wrote:
Foxified wrote:
Error 404
Not Found
Proteus Technologies

whats this, did you ever use AByss, :(?


LOL, forgot about that. Its actually the latest abyss beta, I just messed with the ID strings. Yes, I'm one of those. =)

Quote:
edit:
Failed ON NCSA Mosiac Browser
Failed on Cern line-mode www browser
Failed on Mosiac 0.9 Netscape
Failed on Netscape 1.0
Failed on I.E 2


Hmmmphf. Got Mosaic 0.9, gotta go hunt down the others on evolt.

Thanks! Now I've got something to do at work tomorrow. LOL. ;)

iNaNimAtE wrote:
Yes, that sounds like something you should most definitely be concerned about.


Heh, someone I knew a while back on #alt.fan.elite was a major html nazi. Haven't seen him for a while, but when I do, I want to be able to say "So... found anything wrong with my site yet?" and be confident enough to be semi smug about it. LOL.

Quote:
Especially the IE 2.


Erm, true. I think I'll give that one a miss actually. =)



http://www.dejavu.org/emulator.htm

I was just browsing with it, so I checked for you ^^
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Foxified
-


Joined: 13 Apr 2004
Posts: 487
Location: Canada

PostPosted: Thu Jul 29, 2004 1:11 am    Post subject: Re: Homebrew Perl CMS with gzip compression... pls test! Reply with quote

Stone-D wrote:
Foxified wrote:
Error 404
Not Found
Proteus Technologies

whats this, did you ever use AByss, :(?


LOL, forgot about that. Its actually the latest abyss beta, I just messed with the ID strings. Yes, I'm one of those. =)

Quote:
edit:
Failed ON NCSA Mosiac Browser
Failed on Cern line-mode www browser
Failed on Mosiac 0.9 Netscape
Failed on Netscape 1.0
Failed on I.E 2


Hmmmphf. Got Mosaic 0.9, gotta go hunt down the others on evolt.

Thanks! Now I've got something to do at work tomorrow. LOL. ;)

iNaNimAtE wrote:
Yes, that sounds like something you should most definitely be concerned about.


Heh, someone I knew a while back on #alt.fan.elite was a major html nazi. Haven't seen him for a while, but when I do, I want to be able to say "So... found anything wrong with my site yet?" and be confident enough to be semi smug about it. LOL.

Quote:
Especially the IE 2.


Erm, true. I think I'll give that one a miss actually. =)


why dont you want to show off and be proud of abyss, or are you ashamed of the server.. :(

I mean like, you dont have much to hide from, you dont have much great content... and well, I dont see why your hiding, but idk.. espicially when you show the abyss icon, "Powered By Abyss" on your site, I still see very little point of hiding (even if your hiding from hackers or something, they could look at your site and look at the obvious thing Abyss image)

....
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Thu Jul 29, 2004 6:17 am    Post subject: Reply with quote

Unintentional, Foxified. Twas an experiment and I simply forgot to replace the binaries with the originals.

Fixed now. =)
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
Foxified
-


Joined: 13 Apr 2004
Posts: 487
Location: Canada

PostPosted: Thu Jul 29, 2004 6:27 am    Post subject: Reply with quote

Stone-D wrote:
Unintentional, Foxified. Twas an experiment and I simply forgot to replace the binaries with the originals.

Fixed now. =)


its quite faster, before it was really slow (perhaps the perl code excecuting)
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Stone-D
-


Joined: 09 Jan 2004
Posts: 90

PostPosted: Thu Jul 29, 2004 6:53 am    Post subject: Reply with quote

Foxified wrote:
its quite faster, before it was really slow (perhaps the perl code excecuting)


Yeah, like I said I'm still a newbie. :)

I've been going through my code and optimizing where I can. Memory usage was (and still is a bit) a bit excessive. :P Most of the slowdown was due to the mcount script - it used flock which isn't natively supported in windows without a workaround. So I removed flock use, and now its fine. Its only a page hit counter, so I'm not worried about fails in that code. =)
_________________
--
Look, no SIG!
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group