Hi Bobby; We've used this approach. However, what you need to look out for is that the cache time of the include. If the include (or a query within it) has a cache time expiration of 30 seconds, but it's included in a page that you want to cache for 8 hours, the whole page will only cache for the time of the lowest cached include (meaning total page will cache for only 30 seconds).
You need to make sure any global includes have high cache timeouts. -----Original Message----- From: red...@oshyn.com [mailto:red...@oshyn.com] On Behalf Of bobbykjack Sent: Wednesday, June 09, 2010 3:03 AM To: Christian Burne Subject: [reddot] Including content using Liveserver Hi all, One issue we've always had with RedDot is that, due to the fact it publishes static content, any changes to common elements (e.g. a footer) require a full site publish which can take several hours. However, I've recently discovered the potential of including content via LiveServer (which we've only really used previously for the search function) and this seems a much better approach. In short, we have a new template that looks - more or less - like this: <rde-dm:include content="<%anc_include%>" /> This allows us to link to common content within RedDot (that placeholder would, otherwise, be a container) that is included via LiveServer. When the common content is published out, all pages will automatically include the latest version without requiring a full site publish. Of course, the LS cache needs to be cleared, but that's far more palatable. There's also a fallback in our template for RedDot mode whereby the common content is included via a container so SmartEdit / Preview still work as expected. Does anyone else use this approach? Are there any disadvantages with it you've come across, or can think of? Cheers, - Bobby -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to reddot-cms-us...@googlegroups.com. To unsubscribe from this group, send email to reddot-cms-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to reddot-cms-us...@googlegroups.com. To unsubscribe from this group, send email to reddot-cms-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.