Please note that this extension is provided as is. It is recommended to always backup your installation prior to use.

Overview

Lesti_Fpc - Simple Fullpagecache

Lesti_Fpc is internal full page cache for Magento. This Cache needs no varnish or any other extenal software and works with events. It is an internal cache and so it replaces dynamic blocks before sending response to customer. Here is little post that explains the workflow of Lesti_Fpc.

No Support on Magento Connect

I will not reply on Q&A or private messages at magento connect. Please use Github Issues

You can add your own dynamic block in the configurations (only blocks without children). Here you can find a explanation what dynamic and lazy blocks are. If you don't know the name of your block in magento, here is a little post about it.

How to refresh lazy blocks?

The following actions refresh the lazy blocks:

checkout_cart_add

checkout_cart_delete

checkout_cart_updatePost

catalog_product_compare_add

catalog_product_compare_clear

catalog_product_compare_remove

wishlist_index_add

wishlist_index_remove

wishlist_index_update

wishlist_index_allcart

wishlist_index_configure

You can add your own refresh actions in the configurations. If you think I missed some default one, please contact me.

What about uri-params?

The following uri-params can be handled per default:

id

category

page_id

p

limit

dir

order

mode

There is a little post to explain uri parameters. You can add your own params in the configurations. If your layered navigation don't work, please read this post.

Want to miss some requests?

These are the default miss uri params:

no_cache=1

limit=/[0-9]+/

dir=/[0-9a-z_]+/

order=/[0-9a-z_]+/

mode=/[0-9a-z_]+/

___store=/[a-z]{1}[0-9a-z_]*/

If you didn't want to cache a request you just have to add a parameter. here is a post that explains it.

The following session-params can be handled per default:

limit_page

sort_order

sort_direction

display_mode

You can add your own params in the configurations

Excluding a category, product or cms-page

You can exclude for example a category with id 25, by adding CATEGORY_25 to Bypass Handles in the configs of FPC.

What about multistore, multicurrency, mobilethemes and customergroups?

Lesti_Fpc can handle multistore, multicurrency, mobilethemes and different Prices for different customergroups.

What about cache lifetime?

Per default is the lifetime of a page 24 hours. You can edit under in app/etc/fpc.xml. Pages will be flushed after save of product, category, cms-page and cms-block.

Filecache gets too big?

You can compress the cached data with gzcompress from level 0 to 9.

What about apc, memcached, redis and so on?

You can set every other cachebackend like apc, memcached or redis in app/etc/fpc.xml. In the same style you did it in app/etc/local.xml.

Where are the configurations?

You can refresh, disable or enable hole Cache under System => Cache Management. The configurations are under System => Configuration => Advanced => System => Lesti FPC.

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/167151/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Hello EwoutNL,Lesti::Fpc has nothing to do with Mysql since 1.0.0. And Fpc didn't have any influence on Checkout or Order. (except, you configured it wrong)The only thing that may happen; you have an extension that saves products by placing order. And Fpc wants to flush this products.If you need help, contact me again.

Was this helpful?Yes0No1http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/190613/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D190613&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

I have same issue. The time needed to place an order increased to 30 seconds at least when I enable the cache of FPC. But, it comes back normal when I flush or disable the FPC cache.

by

zhouxiaozhe

-

1 year, 9 months ago

0points

0out of0found this answer helpful.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/211225/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D211225&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/211375/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D211375&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

I also experienced the problem when FPC was enabled the confirm order button sent Magento off into nowhere. I had it running for 2 weeks and started to notice SQL timeouts and incomplete orders due to MySQL rollback. This afternoon I turned FPC off and the problem went away - no more timeouts. I would love to be able to use FPC since it speeded up my front-end nicely. I am running Magento Community 1.7.0 with single page checkout, I was using FPC 1.1.0. I am open to trying whatever is suggested to get it working.

by

beaglesoft

-

1 year, 7 months ago

0points

0out of0found this answer helpful.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/229757/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D229757&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Hello beaglesoft,I sorry. I would like to help you. But I can't reproduce the problem on my testing-system. Would you like to contact me over support-email? And maybe we can find a solution for that problem.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/229769/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D229769&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

No idea what caused all this but the problem disappeared after uninstalling some unused modules and doing a full cache clear/reset.

It's now working very good in a shop with 15.000+ SKU's.

Great extension, thank you for your effort!

by

EwoutNL

-

1 year, 7 months ago

0points

0out of0found this answer helpful.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/229777/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D229777&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

I had the same problem and I think, I found the reason: The cache is filled by the time and at checkout, Lesti_fpc seems to check each order position to invalidate cache data. This could explain, that it increases with cache volume and number of items in the order. We hat up to 5 Minutes checkout time at big orders. Nobody waites so long. This was the reason, why we deactivates the lesti_fpc.

A solution could be to separate the invalidation process from the checkout, so the checkout doesn't need to wait for the cache to be read completely and invalidated.

regardsThomas

by

thotm

-

1 week, 2 days ago

0points

0out of0found this answer helpful.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/512009/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D167151%26expandanswer%3D512009&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

It's driving me crazy: I'm trying to set different prices (and tiered prices, too) based on customer's group, but if a customer from group A call the page, then everyone see the prices for the group A, and I don't want to.

Was this helpful?Yes2No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/133201/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D133201&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Normally it's not possible in the current release, but I have a little hack for you.In the function Lesti_Fpc_Model_Observer.php customerSessionInit add this 4 lines with the session:public function customerSessionInit($observer){$fpc = $this->_getFpc();$session = $observer->getEvent()->getCustomerSession();if(is_null(Mage::registry('fpc_customer_group_id'))) {Mage::register('fpc_customer_group_id', $session->getCustomerGroupId());}

Was this helpful?Yes2No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/140593/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D133201%26expandanswer%3D140593&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes2No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/140761/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D133201%26expandanswer%3D140761&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/142187/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D133201%26expandanswer%3D142187&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

With the hack it was working pretty good.There is only one issue: when a customer of a particular group log out he still see the particular group pricing instead of the "NOT LOGGED IN" group pricing (the standard pricing).It's like the session isn't totally destroyed.

Now I'm going to test the new release, I'll let you know.

Thank you very much!

by

longinous

-

2 years ago

0points

0out of0found this answer helpful.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/142334/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D133201%26expandanswer%3D142334&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/142536/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D142536&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/150042/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D142536%26expandanswer%3D150042&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Lesti, it happens to all blocks. Even adding blocks like catalog.topnav, top.menu, and header to the Dynamic Blocks list excludes them from showing up completely.

by

aegenes

-

1 year, 11 months ago

+1point

1out of1found this answer helpful.

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/150085/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D142536%26expandanswer%3D150085&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

I'm a little bit perplex. Sorry, but whitout debugging your store I can't find a solution for this problem. It would be for free, but I would need a git-repo and a anonymous mysql-dump of your store. If you want it, please contact me per mail.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/150224/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D142536%26expandanswer%3D150224&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes4No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/188416/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D142536%26expandanswer%3D188416&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/145391/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D145391&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/152928/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D145391%26expandanswer%3D152928&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/154594/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D145391%26expandanswer%3D154594&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

I had a look at rapidcommerce_ias and it seems that there is no problem with the code (but I wouldn't use it:)). I guess the problem is on your shop. If you want, I can have a look at your shop, but I need a git-repo and a anonymous mysql-dump.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/154701/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D145391%26expandanswer%3D154701&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Sorry that I noticed that late, but you have "head" as dynamic block? Why that? That doesn't make much sense, please explain me. What version of Lesti_Fpc did you use? In version 0.1.12 is the compatibility for custom handles higher.But please do not make head dynamic. The head-block isn't for specific user details.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/154900/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D145391%26expandanswer%3D154900&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

But I found that It can not display the messages, seems not replaced <!-- fpc xxxx --> with the messages dynamic block, after lookin at the Observer.php, just find that at line 93,comment this line: $blockName = $blockName == 'global_messages' ? 'messages' : $blockName;

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/152287/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D152287&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Hello billylai,the problem is, magento has two messages-blocks, 'gloabl_messages' and 'messages'. And if I delete this line, magento doesn't show "Add to compare" and other messages in my default-layout. I will think about an other solution and maybe it will be fixed in the next version.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/159451/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D152287%26expandanswer%3D159451&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/159689/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D152287%26expandanswer%3D159689&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/160098/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D152287%26expandanswer%3D160098&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/185054/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D152287%26expandanswer%3D185054&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/143519/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143519&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

As a temp fix, I modified app/mage.php and set public static function register parameter $graceful = true. Not sure really what other implication this will have but after clearing out all cache and APC, the problem seems to be solved. I'll post back if something else goes wrong.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/151034/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143519%26expandanswer%3D151034&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Hello Kevin,maybe thats not just a mistake of Aheadworks RMA. I don't know this extension, but mostly this error can happen, if the event custom_session_init is thrown a second time and the fpc don't cache the page. I will upload a fix in the next days and pm you.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/151054/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143519%26expandanswer%3D151054&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/152390/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143519%26expandanswer%3D152390&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/143632/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143632&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Hello,sorry, but advanced menu is a paided extension and I can't get the source-code. If you want, I can have look at your store If you give me a git-repo and a anonym mysql-dump.But my experience with aheadworks extension isn't the best.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/151208/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143632%26expandanswer%3D151208&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/152391/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143632%26expandanswer%3D152391&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/152735/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D143632%26expandanswer%3D152735&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Really fantastic extension. Still wondering why you give it away. Anyway, I tried to implement your hack so that group pricing would show correctly. Right now, some pages are cached with group pricing for the wrong group, whether the user is logged in or not. Other pages are cached with no group pricing at all. I temporarily removed catalog_product_view andcatalog_category_view from the cacheable actions because I'm not so sure how to implement your hack noted in the previous question. Anyway to post the Lesti/Fpc/Model/Observer.php file for us? Would really appreciate that a whole bunch.

Also, the Welcome message gets cached with random user names. Is there a better way to avoid this other than adding "header" to the dynamic blocks?

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/134822/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D134822&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Hi Kevin,I will deploy a solution for it today and maybe in the evening you can download the new version with customer-group-seperation.The problem with the welcome-message: I never used this welcome-message. The problem is, the welcome-message are in header-template and toplinks are a child of header. You can't have one dynamic-block in an other.My solution would be: seperate welcome-message as a child of header and make welcome-message-block dynamic.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/142096/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D134822%26expandanswer%3D142096&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/142186/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D134822%26expandanswer%3D142186&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/155297/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D155297&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Hello Coer,I guess it should work, but it doesn't make sense. 'PageCache powered by Varnish' and 'Lesti::Fpc' are both fullpagecaches. It's senseless to run two fullpagecaches.If you have the option to run varnish, use it. Cause varnish has more power and Lesti::Fpc is mostly build for shared hosting. But I guess there are better extensions than 'PageCache powered by Varnish' for varnish.And please note, varnish is an external cache. It's not that easy to configure it the right way. In many varnish-modules you can see that the session parmas like sort_direction or display_mode haven't effect on the page-content. And dynamic blocks will be replaced with ajax wriggling. These Ajax-Requests aren't included in the most benchmarkings.I hope that helps you in your decision.

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/162254/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D155297%26expandanswer%3D162254&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

So I've been using both, but I agree with Gordon and have been debating whether I should get rid of the PageCache Varnish extension. Varnish offers a blazing fast full page cached response but has no holes (with that extension). So for customers just browsing the site without adding anything to their cart you can't beat it. I've been using that as a primary and then falling back on Gordon's awesome extension for customers that have started adding items to their cart.

It all depends on your customer model. If most people just browse without adding to cart, you might want to keep that varnish extension. If most people add something to their cart, then that varnish extension doesn't really help you.

I've got Lesti FPC setup with Redis and it's pretty fast, but again, it will and should be slower than Varnish since it does do lazy blocks and dynamic blocks.

I plan to do more testing on this to really see what the difference is. My Redis cache is also at a gig right now, so I'm not sure how big that cache would need to be if I removed varnish.

by

craig2005

-

1 year, 7 months ago

0points

0out of0found this answer helpful.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/236144/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D155297%26expandanswer%3D236144&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes1No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/question/168560/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D168560&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Answers

Hello Frank,I'm sorry, but this is a paid extension and without sourcecode I can't say much about it. And I think it's impossible to make this block dynamic, cause the layered navigation is one of the reasons you may need a fullpagecache. Please contact the developer of your extension, I guess they should have experience with fullpagecaches.

Was this helpful?Yes0No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/192541/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D168560%26expandanswer%3D192541&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Was this helpful?Yes2No0http://answers.magentocommerce.com/answers/4643-en_us/product/15389/answer/238556/undohelpfulness.djs?format=embeddedhtml&sessionparams=__BVSESSIONPARAMS__&return=__RETURN__&innerreturn=http%3A%2F%2Fanswers.magentocommerce.com%2Fanswers%2F4643-en_us%2Fproduct%2F15389%2Fquestions.djs%3Fformat%3Dembeddedhtml%26scrolltotop%3Dtrue%26expandquestion%3D168560%26expandanswer%3D238556&user=__USERID__&userdisplayname=__USERDISPLAYNAME__&authsourcetype=__AUTHTYPE__&submissionparams=__BVSUBMISSIONPARAMETERS__&submissionurl=__BVSUBMISSIONURL__

Login

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.