I am using 'Extendware Full page cache' magento extension. how to programmatically clear product page cache in extendware.
To programmatically clear product page cache please follow http://vagento.com/magento-automatically-cache-refresh-using-cron/ site article. In this link it'll help you to Cache Refresh programmatically as well as you can set cron to Automatically Cache Refresh Using Cron.
let us know that'll help you or not.
I created a website here - http://sdl2.alphalogichq.com/index.php/customer/account/login/
When I enter any email, for ex. abc#xyz.com and password - pass123 (both of them are wrong), it should ideally give me error Invalid login or password.
But here it just loads from cache and doesn't show the error. I need to force reload (CTRL + F5), and then it shows the error.
How can I change the behavior so it works properly?
I found X-Cache, X-Cache-Hits and X-Cacheable in response header that shows you are using some kind of caching. This is caching is implemented in server not by magento. I think this is Varnish cache as i found X-Varnish response header.
Cache HIT occurs when page load normally and cache miss occurs when you reload when load with CTRL+F5.
To resolve this issue ask your web hosting provide to disable Varnish cache. And i suggest you to use magento's cache and you can use Lesti FPC which is better to optimize website.
I am monitoring Magento store and have observed that my "Blocks HTML output" cache is invalidated after few hours and then I have to refresh it to make it enable.
I am not sure why I am getting this "Invalidated Cache" error message, even though I have not made any changes on site. Is it because one of the block output is not correct? If so, how can I identify such block?
Thank you.
check this link :
What does "invalidated" cache mean in Magento?
Brief explanation :
Magento caches blocks.
When some products are updated then blockc cached will not have those updated details hence Magento shows this, indicating that these blocks are not to the mark and action needs to be taken.
I had turned on Joomla cache for a while I came across that Joomla login username & password getting filled in automatically. So I turned of cache and happened to be working for the small period of time. Now I experience the same issue even when Joomla cache is turned off.
Given that Joomla automatically cache in the root folder. In the root, There is a folder called cache and inside there is a folder called pages. When it delete the pages folder it happens to be working fine.
How can I fix this? What could be the issue?
Most probably you have enabled auto fill options on your browser and your browser is filling them automatically when same page loads.
If you want to disable page cache, go to Plugin Manager and disable System - Cache plugin.
The website cache has nothing to do with forms being autofilled. That is a browser function.
I was wondering if anyone could help me with the following issue. On our Magento site, enterprise version 1.10.1.1, a user may log in, and it will say another person's name. Then, if you click on another link, it might go back to your name. The user sessions are clearly being confused. Apparently, this is a full-page caching problem, because our full page cache is often invalidated and, if we turn it off, the user sessions no longer mix up. However, turning it off considerably slows down the site. Switching the sessions from db storage to file storage (and vice versa) did not fix the issue. Does anyone know what the problem could be or how to solve it?
Thanks very much,
Brenda
You should check with Magento for a patch. I had a similar problem with Gift Certificate field info getting mixed up between sessions. They provided a patch that resolved the problem.
In the header.phtml file you should use this to print the user name
<?php echo $this->getChildHtml('welcome') ?>
Then, you can override the block 'Mage_Page_Block_Html_Welcome' if you wanna customize your message.
this happens when you use "Full Page Cache" because by default, magento exclude some blocks of the full page cache, and the block 'welcome' is one of they. if you are using customization code and message, the user name will be cached too, and other users will see different user names in this section.
it can be dependence on the cache issue. Try to turn cache off (go to admin, system, cache management and disable all cache).
If issue gone - you need to check cache configuration. If not - you have really session issue.
BTW, where you store sessions (files or DB or memcached?)
I found the cause related to Enterprise_PageCache_Model_Processor_Default class, my way is disable it in config.xml, edit src\app\code\core\Enterprise\PageCache\etc\config.xml:
<requests>
<!-- <cms>enterprise_pagecache/processor_default</cms>-->
</requests>
This problem was probably caused by Magento not being able to set proper session parameters if it was behind a reverse proxy cache like Varnish (I bet it was the case). Whenever using an intermediate caché system you have to make sure you are using the apropiate module in Apache to forward the X_FORWARDED_FOR http header to Magento like mod_rpaf, otherwise Magento will see al requests coming from the same IP and it will not be able to determine correct session isolation as it will think all requests come from the same client.