I cannot get block cache alter to cache anything on my Facebook apps (running in an iFrame on Facebook with the Drupal for Facebook module).

Block cache alter works perfectly on my normal site, but the exact same block on my canvas app does not cache.

Thoughts?

Comments

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

I don't exactly understand the question. You mean you want to cache stuff on another domain or what exactly do you mean ? Than again, blockcache alter just changes block cache settings and core is responsible for caching blocks, so tempted to set this won't fix.

notluap’s picture

One domain/drupal install serves up the facebook app and the normal website. It is the same block.

Load the website through example.com and caching on the block works. Load the website through apps.facebook.com/example and caching on the block does not work.

Edit: The apps.facebook.com/example site serves up the normal site through an iFrame, FYI.

swentel’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Well, it isn't really this module it's fault it isn't caching, rather Drupal core, but can't really give any pointers on what goes wrong though. Also see #863292: block caching breaks XFBML markup where there is indeed a mentioning about Block caching - although not entirely the same request, but I guess there must some sort of connection.