Mark,

Can you access your CSS files by URL in you browser? The fact that you're using 
CGIDEV2 doesn't matter since it's the browser that actually requests them 
(unless you're embedding the files in the HTML which just slows everything 
down). If you're using the Apache based server, the error log will tell you the 
location where it's looking for the CSS file.

Generally speaking, you'll get better performance if this file is in the root 
file system and is stored as an ASCII text file. Under this condition, OS/400 
is able to send the file right from disk (or memory if you have caching turned 
on and this file's in the cache) and out over the network (this works under 
both HTTP servers). When you store in the libraries, the file has to be read in 
a record at a time, converted to ASCII (unless your file's there already), and 
then sent out over the network. There's a lot more system code involved in this 
(not not mention CPU usage) and a lot more disk IO (especially if the file 
isn't cached already). I don't know how noticeable this is on newer hardware 
but the difference between the libraries and root file system was dramatic when 
we were using a 50S for a web server.

Matt

-----Original Message-----
From: MWalter@xxxxxxxxxxxxxxx [mailto:MWalter@xxxxxxxxxxxxxxx]
Sent: Monday, January 31, 2005 1:55 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] CSS


Has anyone been able to use CSS sheets that are stored as Qsys.lib members
with CGIDEV2?

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.