Hi,
sorry guys, I don't know. I didn't have much time to play with the static publisher. So for now I just work with static content. I would quite like to add the comment functionality, but once you post with the static publisher enabled a new comment is not displayed on the page immediately, only after republishing the page (and possible subpages).
I thought ideally a page and sub pages should be republished when a visitor entered a comment, hit the send button and the comment has been written to the database. But I don't know how to start the republish process at that moment without hacking into the core code. If anyone has any idea please let us know.
The other way is probably to exclude some pages from being cached at all. E.g. pages with dynamic content like some widgets. It should be possible to maybe just overwrite the caching functions allPagesToCache() and subPagesToCache() of these pages (replace it with empty functions for certain page types or add a checkbox like 'can be cached' to the CMS and make caching conditional?). So the caching would not even create cached versions of these pages and so the rewrite rule would automatically use the dynamic page.
I would not like to change the .htaccess file and add a rewrite rule for specific pages that should not be cached. It's a solution but not a good one I think.
Well, just ideas, but nothing concrete here. More input on this would be great if anyone has experience with this. I will look into this again when I really need it, but right now I don't have the time.
Cheers!
Anatol