[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Pre-rendering Output
Subject: RE: [xsl] Pre-rendering Output From: "John Horner" <Horner.John@xxxxxxxxxx> Date: Mon, 16 Apr 2007 10:18:41 +1000 |
Logically (and this isn't anything to do with XSL really) you need a cron job or equivalent. Presumably you actually have something like that which runs every hour to get the new XMLTV input? So run your transform over the data once an hour, and produce a server-side include, which then goes into the PHP page. > -----Original Message----- > From: mozer [mailto:xmlizer@xxxxxxxxx] > Sent: Monday, 16 April 2007 9:30 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] Pre-rendering Output > > Mike, > > > On 4/13/07, Mike Wilt <mikewilt@xxxxxxxxx> wrote: > > Hello: > > > > I am working on an XMLTV project that must parse a gigantic > xml file, > > > I'm just curious, can you tell us what is the size of the file ? > > > > but once the output is processed by xslt and php the output > is only a > > few hundred lines of html code. Is there a way to "pre-render" the > > php page to improve load times? > > > > Put another way: every time the page loads, it refers to > the XML file. > > Because the output is only going to change at the top or bottom of > > the hour, I am seeking a way to cache the php output once, > then serve > > that html throughout the next half hour. > > > > Hope that makes sense. Thanks in advance for any advice/leads! > > > > The way you want to solve your problem seems to be more a PHP caching > issue : If it wasn't XSLT generated, but, say, a JavaGenerated GIF, > the problem would be the same, right ? > > Xmlizer > > ============================================================================= = The information contained in this email and any attachment is confidential and may contain legally privileged or copyright material. It is intended only for the use of the addressee(s). If you are not the intended recipient of this email, you are not permitted to disseminate, distribute or copy this email or any attachments. If you have received this message in error, please notify the sender immediately and delete this email from your system. The ABC does not represent or warrant that this transmission is secure or virus free. Before opening any attachment you should check for viruses. The ABC's liability is limited to resupplying any email and attachments ============================================================================= =
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Pre-rendering Output, omprakashv | Thread | [xsl] Condition Based Count of Sect, J. S. Rawat |
Re: [xsl] Pre-rendering Output, mozer | Date | RE: [xsl] check the type of the $pa, John Horner |
Month |