Skip to main content

Questions tagged [caching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

How to resolve Varnish Server Caching Issue in Magento 2?

in my setup, I need to clear varnish caching at the server at all time even I make small changes then also need to clear the varnish cache at the server side so can anyone help me with this?
0 votes
0 answers
45 views

Caching/Indexing Deadlock Issue

The highlighted index tables that associate the Amasty label to products don't appear to updating
1 vote
0 answers
15 views

I have a custom search function that just started having a bit of an issue with caching (I'm assuming)

I'm not sure when it started not working or if it ever worked. Helping a friend out with their website. I'm going to assume it was working at some point. I looked in the logs while refreshing the page ...
0 votes
1 answer
112 views

LiteMage Cache not working for logged in users in Mangento2

For my magento 2 website which uses Litemage cache, Once the litemage cwral is done I can see public pages are being cached. I wanted to cache private pages as well. For private cache, Actually, I ...
3 votes
8 answers
7k views

How to completely disable cache for development?

I am developing a script which is in the skin folder. I lost many hours because of the weird caching mechanism of Magento. I already disabled all the caches in the backend, but it still caches. I ...
0 votes
1 answer
417 views

How to store value to cache and update it once a day

I have got some data from an API, i like to store those data to cache and update it once a day. I mean i don't like to call the API for each frontend page load. I found this function if (!...
0 votes
1 answer
506 views

Magento 2 show/hide add to cart button based on section data

I need to show/hide the add-to-cart button based on some custom values. These values are stored in a product attribute. The values are updated at the time of order creation. I am using sections.xml ...
0 votes
1 answer
18 views

HTTPS not working on first load (private tab or new computer)

I have noticed that when I open our website (voltbike.com) in a private window or on a computer which hasn't visited it yet, often the website doesn't load with HTTPS. It is only once I refresh the ...
2 votes
2 answers
4k views

How to set page cache expires to 7 days?

I am using varnish with default magento 2.3.3 VCL and the default nginx configuration that comes with magento install. At present I see the expires is set to -1. How can I set expires to one week?
3 votes
2 answers
987 views

How to interact with APCu?

Magento DevDocs recommends to use APCu. I have enabled it and it works somehow, but I don't why and, and when to do what. I use already apc.php. Can anyone share some knowledge regarding APCu and ...
0 votes
1 answer
38 views

Problem with cache when enabling/disabling extensions

I have a problem with probably caching when I install/enable new extensions which should add custom tabs to the product edit page it never does even when I disable modules with custom tabs on the ...
0 votes
1 answer
715 views

Magento 2 How to create cache for a collection inside controller

Hi am having a controller Search.php every time I do operation it loads all the collection and takes much time to load. So I wanted to cache the custom collection and optimize the loading time. this ...
0 votes
1 answer
27 views

Changing the positon of sign in and create account from header to footer

I have created a custom theme which has parent theme as luma. Created a folder default.xml inside the theme_name_folder/layout_folder. Trying the change the code but its not reflecting in the theme. ...
0 votes
1 answer
247 views

Login caching and sessions

So were using this third party catalog thing which I don't like much at all. I won't get into all the details of my disliking but for starters it runs in an iframe. Now if a customer is browsing ...
0 votes
1 answer
251 views

Are http_cache_hosts Applicable When Using Magento Cloud With Fastly?

Magento with Varnish When using Magento with plain old Varnish, you can configure http_cache_hosts in app/etc/env.php to instruct Magento to automatically purge Varnish caches when Magento Caches are ...
0 votes
0 answers
169 views

Rebuild cache (varnish/redis) after clearing?

I have my shops set up with Varnish and Redis, that all works great. It's fast, responsive. But after clearing the caches (i.e. after updating repositories and what not), every first load of every ...
0 votes
1 answer
74 views

Caching bundle product pages

our product detail pages (bundle products) load very slowly (10-20 seconds, most of it is scripting time). There is no caching (FPC is enabled) and every time the page is reloaded, the complete ...
0 votes
1 answer
665 views

Magento 2 Product Detailed Page(PDP) Varnish PageCache Test Failed

I've created some Magento2 Extension, I've uploaded those code into the Magento2 Market place. In that market place, there has some kind of code validation procedure, and I've written my code as per ...
0 votes
1 answer
31 views

Make specific page in magento as not cacheable

I want to make a specific cms page to be set as a non-cacheable page. Is there is a way to add XML code in layout update to achieve same I'm calling block in page HTML with code as below <p>{...
0 votes
1 answer
444 views

Varnish is cached but Google Chrome showing not cached?

I have installed Varnish and configured it as per as the guideline. And when I try it curl -I https://d-o-m-a-i-n.com I get following which seems its working correctly. HTTP/1.1 200 OK Date: Sat, 28 ...
0 votes
3 answers
4k views

Disable page cache for a single block

I have created a new block to sit on the product detail page which contains dynamic content (the customer's recently-viewed products) that should not be cached. How can I switch off caching for that ...
0 votes
2 answers
499 views

Magento2 - Why Varnish is better the Full Page caching in Magento2

Magento2 officially recommend to use Varnish on production as it's much faster than the built-in cache, but they don't describe why it's better than the Full Page cache and what are the missing ...
0 votes
2 answers
3k views

How to prevent browser caching for merged files?

I'm using magento 2.1.2 in production mode with merge/minify/bundle enabled. It works good and the created files like /static/_cache/merged/6c3c8136610cacb3de381ea2afc99190.min.js has header expires ...
1 vote
0 answers
147 views

Magento 2 : Flush Magento Cache Results in Site Speed Up

I've been noticing that flushing Magento cache (by clicking on the "Flush Magento Cache" button) speeds up both Magento frontend and Admin panel. Page load speed eventually returns to a slower state, ...
2 votes
1 answer
837 views

Fastly CDN not refresh custom page

We have Fastly CDN configured in Website, and we have a custom page where we are displaying product listing. When admin makes changes in the product, it's reflecting correctly in front-end product ...
3 votes
0 answers
377 views

Magento2: custom header.phtml stays cached forever!

I have a child theme, and uploaded a custom header: header.phtml. Right after I uploaded, it showed it correctly in the front-end. However, changing something in this custom header, never reflects ...
0 votes
1 answer
221 views

Magento : Extend Caching Time For External JS

I want to Increase Expire time for External JS how can I achieve this? Extend from .htaccess doesn't work for this. And We can use CDN for External JS , like zopim , zendesk , google fonts , google ...
0 votes
0 answers
33 views

Previous customers name showing in cached static block

I wanted to build a static block in Magento where when a customer logs in they see there name with a welcome message (dependant on name length), however it appears on implementation that the previous ...
0 votes
1 answer
734 views

Lesti FPC is caching the minicart on header

I managed to get Lesti FPC working with memcached, but I quickly ran into a problem. When I add an item to my cart from any page and go back to the homepage, it shows that my cart is empty. I ...
0 votes
1 answer
141 views

Pressing "Flush magento cache" button in admin panel leads to "Currently unable to handle this request"

Please help me to understand the issue if my question is not related to "magento.stachexchange". Everything is fine in my magento installation but this button Pressing “Flush Magento cache” button ...
8 votes
1 answer
10k views

Edge Side Includes (ESI) in Magento 2

I went through an article about MAGENTO 2 CACHING OVERVIEW https://alankent.me/2014/12/09/magento-2-caching-overview/ It tells Magento uses ajax and basically rely on JS for showing private content. ...
4 votes
1 answer
2k views

Magento 2: How to disable caching for the header block?

I just go through other similar questions but they didn't help much. As per suggested in some answers to put the cacheable="false" in block will disable it. But it will disable whole page caching as ...
0 votes
1 answer
93 views

Refreshing cache is necessary to see the results of a controller action (delete)

I have a table of data, I added a delete button in each row. The controller action is well executed and the row is deleted, but I need to manually refresh Magento cache (FullPageCache to be precise) ...
0 votes
1 answer
861 views

Clearing Full Page Caching on product stock change Magento2 custom product listing page

I want to clear full page caching on my custom product listing page in my module if any product get out of stock. Actually I need to show "out of stock" label on the products that are not in stock but ...
1 vote
0 answers
506 views

Caching magento 2 (with CDN)

On a local server I have a test-instance of Magento 2, by running a new build on that server and then rsyncing the code to the production, I switch to a new without downtime. Recently I have added a ...
1 vote
1 answer
201 views

How Magento2 Checks If To Serve Request From Cache Or From DataSource?

Example: We have a Full Page Cached Category Page, How System Know Weather To Send Cached Data as a Response, Or Hit Database and Send response. If it uses any cache tag, where does it check?
2 votes
1 answer
680 views

Disable Akamai For Magento Backend

We use Akamai for our CDN on our Magento store, and I'm running into some issues where it would be nice to disable the CDN for our admin area. Does anyone know a simple way to do this? I tried ...
2 votes
1 answer
2k views

Magento2: Home page caching issue

I have added java-script in the footer like below and I am passing the customer email dynamically, but the same email id is displaying for all the customers because the page is caching. Please help ...
0 votes
1 answer
103 views

Magento some product suddenly disappear

We have Magento EE 1.14.0.1. recently we moved to new AWS EC2 server and ElasticCache Redis server. then some random products start disappearing in the frontend. They exist on backend and configured ...
0 votes
1 answer
628 views

Caching problem after login

I am using FPC caching on my site. My problem is if customer visit some products page without login, and then want to write a review, he goes to login page and after log in when he come back to ...
1 vote
0 answers
451 views

Magento 2: Block in Layout not Respecting Cacheable = False

I have a block my custom module. The layout file is called davecms_shopping_checkout.xml. Lets assume the module name is davecms and it has a route with a name and id as ...
0 votes
0 answers
538 views

Magento 1.9 - memcached not working while using in shared environment

I am configuring multiple Magento 1.9 instances on an amazon server. I want to store my sessions on memcached. for that I am using below configuration in my local.xml as suggested in magento. <...
0 votes
2 answers
272 views

Cache Management

I would like to know more about Magento Cache Management. What these buttons do?? I would like to know about the functionality of these buttons. Flush Mangento Cache Flush Cache Storage Flush ...
0 votes
1 answer
64 views

Is it possible that Magento doesn't transform my optimized images?

a graphic designer optimizes the images (products, galleries,...) for me, with good proportion of quality and compression,… and then Magento creates new images,… that are double size and not same ...
3 votes
2 answers
1k views

Group prices are cached (Lesti_Fpc) and displayed to all visitors

We realized that the group price are cached and after log out, regular customer can see the discount, till we refresh the cache. How to solve this?
0 votes
0 answers
44 views

Magento plugins Disable/enable problems

I am noticing really weird problems after installing plugins. Sometimes the plugins get disappeared in the backend when we refresh the backend and sometimes it appears in the backend. I havent used ...
2 votes
2 answers
200 views

CMS pages which are include differenent static blocks are showing the all the same block [duplicate]

Because I wanted to include shipping and return texts in different CMS pages in a magento website, I used static blocks and was adding the following code so i don't have to make edits in all of them ...
3 votes
1 answer
2k views

FPC no longer hooked up to redis? [duplicate]

I recently received the following ticket info regarding some caching issues on our magento installation, and have run into some stumbling blocks in diagnosing (thus obviously fixing, as well) the ...
0 votes
1 answer
981 views

Calling $this->getChildHtml on a new block outside template file

I'd like to call $this->getChildHtml('product_type_data') to get product's price outside view.phtml template file. Currently I have echo $this->getChildHtml('product_type_data') and that ...
1 vote
0 answers
33 views

working with cachekeys Enterprise Edition 1.9

So I want to make sure magentos FPC doesn't mess things up in my header. Based upon some logic I will load one of two sections. Here is my thinking thus far: On view: create key(1) or create key(2) ...