How can I show dynamic content while caching the page?
Comet Cache is a page caching plugin. That means it captures the output from the server and saves it to a cache file. When the next visitor comes along, Comet Cache serves the cached file instead of expending server resources by having the page reprocessed.
If you have a widget or a plugin that shows some dynamic content on a page that is being cached (e.g., a Page View Counter widget on the Home Page), what will happen is that Comet Cache will cache the output from the page and serve that cached file to future visitors—the dynamic portion will no longer be dynamic.
There are two ways around this problem:
Exclude the page with the dynamic content from being cached by Comet Cache. This can be done using URI Exclusion Patterns to specify the URI to the page with the content that needs to remain dynamic (see Comet Cache → Plugin Options → URI Exclusion Patterns).
While it's certainly possible to support dynamic fragmentation, where a page is cached while a portion of the page remains dynamic, such a feature has both security and performance issues and for that reason Comet Cache does not support dynamic fragmentation at this time. If you'd like to vote for this feature or provide feedback, please see this feature request.