Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3793798
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:49:51+00:00 2026-05-19T12:49:51+00:00

I am using magento Enterprise edition 1.9, and after custom theming, site is on

  • 0

I am using magento Enterprise edition 1.9, and after custom theming, site is on live. But the problem is when i open the site in IE8, it gave alert like the page is not safe, since the page is loaded with both http/https content.

Sometime before I got something like this for magento CE 1.4 and it was working as far as I remember.

Default code of getCacheKey

public function getCacheKey()
{
    return 'CATALOG_NAVIGATION_' . Mage::app()->getStore()->getId()
        . '_' . Mage::getDesign()->getPackageName()
        . '_' . Mage::getDesign()->getTheme('template')
        . '_' . Mage::getSingleton('customer/session')->getCustomerGroupId()
        . '_' . md5($this->getTemplate() . $this->getCurrenCategoryKey());
}

is then replaced by following code

public function getCacheKey()
{
    return 'CATALOG_NAVIGATION_' . Mage::app()->getStore()->getId()
        . '_' . Mage::getDesign()->getPackageName()
        . '_' . Mage::getDesign()->getTheme('template')
        . '_' . Mage::getSingleton('customer/session')->getCustomerGroupId()
        . '_' . md5($this->getTemplate() . $this->getCurrenCategoryKey())
        **. '_' . md5($this->getSkinUrl());** 
}

This is it. You can now use peacefully https on Internet Explorer.

By adding this line skin also comes into https whenever https page is loaded, so I didn’t get error that time. But here in EE 1.9 I am not able to find this function
in Mage_Catalog_Block_Navigation.

I tried with command line,

find -type f -print0 | xargs -0 grep -i "getCacheKey()"

This does not return the function in this way, that function having some other cache info.

Is anybody solved this issue. Please help to find this function.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:49:52+00:00Added an answer on May 19, 2026 at 12:49 pm

    I see the following code block in DOCROOT\app\code\core\Mage\Catalog\Block\Navigation.php:

    /**
     * Get Key pieces for caching block content
     *
     * @return array
     */
    public function getCacheKeyInfo()
    {
        $shortCacheId = array(
            'CATALOG_NAVIGATION',
            Mage::app()->getStore()->getId(),
            Mage::getDesign()->getPackageName(),
            Mage::getDesign()->getTheme('template'),
            Mage::getSingleton('customer/session')->getCustomerGroupId(),
            'template' => $this->getTemplate(),
            'name' => $this->getNameInLayout()
        );
        $cacheId = $shortCacheId;
    
        $shortCacheId = array_values($shortCacheId);
        $shortCacheId = implode('|', $shortCacheId);
        $shortCacheId = md5($shortCacheId);
    
        $cacheId['category_path'] = $this->getCurrenCategoryKey();
        $cacheId['short_cache_id'] = $shortCacheId;
    
        return $cacheId;
    }
    

    You should be able to override and update the returned keys to suit your purpose.

    Cheers,
    JD

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Magento Community Edition ver. 1.6.2.0. I’m trying to add a Simple product
I am new to Magento and i am using Magento Ver. 1.6.1.0 - Custom
I am trying to call magento api using Soap from android but I am
I am using Magento 1.5 and have around 33,450 products on my site. 32000
I just discovered on my site using magento 1.3.2.2 that on a bundled product,
I'm trying to create a custom module using Magento's EAV structure and have been
I`m using Magento 1.3 and I want to test the new 1.4, but is
I'm using magento enterprise 1.9.1.1 In magento connect manager, the black console screen did
I'm planning on using Magento's inbuilt Custom Variable system to allow users to alter
I am using Magento Enterprise, with a Datacash 3D Secure payment module. In the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.