JJZolx wrote:
> Aren't only the templates themselves cached, rather than the generated
> HTML page?
I can't remember the full details but I think the templates are used to
generate HTML/JS files and these are cached as these pages required lots
of Perl/LMS processing and the aoim of the LMS Cache is minimise LMS
processing. The browser may in turn cache the HTML/JS pages and the
.js files which are pulled in by the HTML/JS pages.
To illustrate
Code:
--------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
[% PROCESS standardheader.html %]
</head>
<frameset cols="50%,50%" frameborder="no" framespacing="0">
<frame name="browser" noresize src="home.html?player=[%
playerURI %]">
<frameset frameborder="no" framespacing="0" rows="170,*">
<frame name="status" noresize scrolling="no"
src="status_header.html?player=[% playerURI %]">
<frame name="playlist" noresize
src="playlist.html?player=[% playerURI %]">
</frameset>
</frameset>
<noframes>
<body>
This page requires Frames.
</body>
</noframes>
</html>
--------------------
The above is a template index.html file - alll the "[% %]" stuff in
this file need to be processed and expanded and the output will be put
into the LMS cache.
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=95551
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix