over head from zope server for a html file request...
Zope parses all dtml object requests. Hence even if we have static html in a dtml object zope server parses every request of that object. Can we make a html page and include that in any part our dtml documents to reduce server parsing overheads? Thanks for the reply, - sree
If you have static parts to a site, you can use one of many caching mechanisms to make sure that the data is cached and not parsed every time. Look in the Zope book for RAM Cache Manager for an example. ----- Original Message ----- From: "Sreekanth S Rameshaiah" <sree@mahiti.org> To: <zope@zope.org> Sent: Friday, October 26, 2001 9:51 PM Subject: [Zope] over head from zope server for a html file request...
Zope parses all dtml object requests. Hence even if we have static html in a dtml object zope server parses every request of that object. Can we make a html page and include that in any part our dtml documents to reduce server parsing overheads? Thanks for the reply, - sree
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Sreekanth S Rameshaiah writes:
Zope parses all dtml object requests. Hence even if we have static html in a dtml object zope server parses every request of that object. Can we make a html page and include that in any part our dtml documents to reduce server parsing overheads? You can use "File" to store static HTML pages or page fragments. You can either directly access them through the Web or include their content with "<dtml-var file>" into a DTML object.
Dieter
participants (3)
-
Dieter Maurer -
Sreekanth S Rameshaiah -
Zopista