Instead of setting $GLOBALS['conf']['cache'] = 0; take advantage of the drupal_page_is_cacheable() function. This uses the API and makes for easier debugging.

CommentFileSizeAuthor
#1 drupal_page_is_cacheable-1343838.patch654 bytesgcassie

Comments

gcassie’s picture

StatusFileSize
new654 bytes

Patch attached.

soyarma’s picture

hear hear!

... and rbtc

soyarma’s picture

Status: Active » Reviewed & tested by the community
quicksketch’s picture

Yeah this one is a no-brainer. I'll put it in next time I'm working on Flag.

socketwench’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Committed to DEV. ^_^

Marking closed (fixed).