New answers tagged

0

I used to have issues once in a while with caching on various levels. What was working for me, was toggling the 'Merge CSS Files' setting from the Stores -> Configuration -> Advanced -> Developer -> CSS Settings, from current value to the opposite, clean the cache on all layers, and then toggle the setting back, and clean the cache again.


0

Did you manage to get an answer about this, I'm also getting the same issue! running 2.3.5-p2 magento2 enterprise


0

sorry, where I have to put the line of code? and also I have three .htaccess files that I'm showing here below: i simply added the line SetEnvIf X-Forwarded-Proto https HTTPS=on in all my .htaccess file and I still cannot get my admin page due to redirects here below my .htaccess files (pure without your line) /.htaccess #####################################...


0

You need to follow Magento 2 devdocs as they told step-to-step setting and configuration of varnish cache. If you have already installed varnish cache on your server then you need to configure Port in the admin of Developer section then you will require to final verification that it's working or not as per the below guideline of Devdoc Magento 2: https://...


1

For magento cloud, the production is in read-only mode. You have to change & push the codechanges from lower environments (staging, integration, etc) into production. Another option is to set the changes in the environment-specific variables in magento.cloud (https://devdocs.magento.com/cloud/env/working-with-variables.html)


1

You can flush cache programmatically in your controller, So don't need to clear cache manually and don't need to disable cache for particular block. Please check the below code for cache clear 1.Add below lines after namespace use Magento\Framework\App\PageCache\Version; use Magento\Framework\App\Cache\TypeListInterface; use Magento\Framework\App\Cache\...


0

Just add cacheable false for the particular PHTML file like below. <block class="Magento\Review\Block\Customer\Recent" name="customer_account_dashboard_info1" template="Magento_Review::customer/recent1.phtml" cacheable="false"/>


Top 50 recent answers are included