Hi Everyone.
I'm looking for a serious and working way to set cache with vm2 & joomla 2.5.
My shop have like 30.000 products, all using stockable variants... And like an 150 product categories.
My website is really slow. Ok I have traffic (always a minimum of 20 people at same time), but i must fix my server overcharge.
So, about cache, is that solution still working : ?
Quote from: benm on August 25, 2008, 11:39:59 AM
Hi Casper,
I had this exact same problem and I put in a small hack to get around this:
In the file /plugins/system/cache.php
Change line 60:
if (!$user->get('aid') && $_SERVER['REQUEST_METHOD'] == 'GET') {
to
if (!$user->get('aid') && !$_SESSION['cart']['idx'] && $_SERVER['REQUEST_METHOD'] == 'GET') {
I'm basically just telling the cache plugin to not display the cached page if the customer has anything in the cart!
Let me know if it works.
-Ben
Or is there any better way to do ?
Tanks !
Hello,
There is also an option to use jotcache extension on your site (it's free ext. http://extensions.joomla.org/extensions/core-enhancements/performance/cache/13155). You can exclude specific components, modules or even positions over your site. Fox example you could exclude the cart module and the cart/checkout pages.
I have used successfully.
Hope helps you out.
Regards
Oh !
Nice ! Thank you !
I'll have a look !
Hi Federa
Your solution is not working with my website. I am even not able to edit the bill to information and shipping information. It takes 1 min(cache time out time) to display these information.
Can you suggest me something
I use JCHoptimize for css files only
It helps
Quote from: namangarg88 on September 05, 2012, 20:12:50 PM
Hi Federa
Your solution is not working with my website. I am even not able to edit the bill to information and shipping information. It takes 1 min(cache time out time) to display these information.
Can you suggest me something
which release are you using?
For me, works like a charm
Hey Federa,
I am using Joomla 1.5.26 and VM2.
You can check out the URL: www.giftjaipur.com/test
Hello,
bytelord, how can exclude specific MODULES from my site using jotcache?
Thanks in advance
Hello,
Yes you can. Please read that article from the jotcache vendors site. http://www.jotcomponents.net/web-programming/jotcache/125-jotcache-plugin-with-module-exclusions
and here: http://jotcomponents.net/web-programming/jotcache/jotcache-help/126-jotcache-ver-3-0-help?showall=&start=3
Regards
Hello,
Thanks bytelord, I have done it successfuly.
Now, my problem is that the Jocache doesn't work when the user is logged. Is there a way to make it work?
Thanks in advance
Hello,
I don't know why, you should look a little bit more their web site or ask on their forum (http://www.jotcomponents.net/forum).
Rehgards
Thanks bytelord,
I did it. I asked in their forum and they answered me that the cache systems doesn't work when users are logged.
Thanks again.
Thanks for your input, is the way that joomla cache system works, the same for joomla default cache.