Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to disable url parameters caching
 
michelem
Jr. Member
 
Total Posts:  10
Joined:  2009-09-21
 

I have a code like this to get a url parameter:

$param = (int) $this->getRequest()->getParam(\\\'param\\\');

I can get it with a url like this:

http://example.com/?param=1

And obviously it works fine in my staging server, but when I try it in the production server with the caching system enabled, Magento caches the parameter and it gives me always the same, how can I override this?
Thank you!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top