MidCOM and browser cache

Tarjei was experiencing problems with MidCOM’s cache system:

[12:17] tarjei: I’m stuck with IE not letting users log out (seemingly) because IE doesn’t refresh the pages
[12:17] tarjei: any tips ?
[12:18] bergie: use $GLOBALS['midcom']->cache->content->no_cache();
[12:19] tarjei: Hmm, I tried setting caching to NO in the settings page without any effect, but you think this will help?
[12:21] bergie: yeah, no_cache() forces browser to not cache as well
[12:21] bergie: call it before any output in style
[12:22] tarjei: bergie you are my hero.

Another good moment in community involvement


Read more Midgard posts.