New answers tagged


I have solved my problem using ajax post request on phtml file So I have created two phtml files and in my first phtml file which show the output data on page reload I have called the ajax post request to my custom controller <div id="customdata"></div> <?php $ajaxurl = $block->getAjaxUrl(); ?> <script type="text/x-magento-init"&...


require_once("app/Mage.php"); Mage::app('admin'); Mage::register('isSecureArea', 1); Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $type = 'block_html'; Enterprise_PageCache_Model_Cache::getCacheInstance()->cleanType($type); ?> try to execute above script in browser


Set 'cache_lifetime' => null

Top 50 recent answers are included