I'm in a situation whereby our Caching module is obfuscating the requests and the URLs, making it difficult to tell what the current page is.
For example - without caching:
/checkout/cart with caching:
/899472304723khb4i23grhi29dhokhsabidb3q78bdi2bdiwbyudybasud6s81g This is true regardless of reading the request via $this->getRequest();, $_SERVER['REQUEST_URI']; or by reading Mage::helper('core/helper')->getCurrentUrl(); - the URL in all cases is obfuscated as above.
Due to this, I'm a little stuck on how to detect the current page without this information. Can someone help?