Some more brainstorming: The cache refresh issue is tricky. As john mentioned, jquery could easily ensure that it cleanly manages the cache by including cache updaters attached to append/prepend, before/after, html. (the jquery DOM modifiers).
Where the implementation uses other DOM altering js (non-jquery), I would think that you could just play it safe and not use the cache. Hence, a way to enable/disable cache mode . After all, the jquery cache is a performance enhancer. If you can't guarantee it's freshness - don't use it!! Another middle ground would be for jquery or a plugin to provide a cache (at global scope) with some jquery helper functions to add/remove/fetch from this cache. The helper.fetch could then be used as the jquery expression since it returns a DOM object or an array of DOM objects. Just some thoughts... Jeff _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/