colinmollenhour/Cm_Diehard

Get current store in cache backend getCacheKey() method

Closed this issue · 1 comments

I'm just curious if you thought about implementing a method that duplicates the usual functionality in the core to determine the store, e.g.

  • use $_GET['___store'] if defined
  • if not, use store cookie
  • if no query parameter and no cookie, use $_SERVER['MAGE_RUN_CODE']
  • otherwise use an empty string, since there is no way to determine the current store at this time

Sorry, dumb question. Now I understand the current architecture better I can see that it's not needed.