|
Matt, Thanks for the tip. Would the same overhead be involved in translating the html template members? In other words, would I get a performance increase by storing these templates in the IFS, instead of the qsys.lib file system? I'd like to keep it consistent. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com "Haas, Matt" <Matt.Haas@thomso n.com> To Sent by: "Web Enabling the AS400 / iSeries" web400-bounces@mi <web400@xxxxxxxxxxxx> drange.com cc Subject 01/31/2005 02:15 RE: [WEB400] CSS PM Please respond to Web Enabling the AS400 / iSeries <web400@midrange. com> 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 _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
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.