Keyword

all about K2 and Cache System

  • Massoud
  • Massoud's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 6 months ago #90185 by Massoud
all about K2 and Cache System was created by Massoud
K2 is the best content system I've ever seen butThere are series issues with joomla cache system, and I'm trying to gather all of them in this topic:Cache system and Read Counter:When the global cache system is enabled, the counter does not work, at first i thought the problem should be related to cache duration and after the cache will be expired, problem will solve but this is not the fact. in reality when the cache system is enabled the counter won't work and won't count.In this case I want to know is it possible to have cache system but except K2 pages, I want the cache is just work for modules not more.Cache system and so many K2 cache files When the cache system is on, after 15 min I'l have tons of files in K2 cache why is that? I have only 100 article and the cache files are around 18K, at first I thought this problem should be just for mine but after searching in this forum I figured out that this other users have the same problem.Cache system and K2 Jcomment Plugins ProblemWhen the cache system is enabled, and you're using K2 Jcomment plugins, with no logic and certain condition, or duration the original k2 comment system will be replaced with the jcomment one and you have to clear all the cache to take everything in normal situation. Please share your experience or any useful knowledge about it

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #90186 by trip
Replied by trip on topic all about K2 and Cache System
Hi
did you have an follow up on this caching issue ?
Matthew

Please Log in or Create an account to join the conversation.

  • Massoud
  • Massoud's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 6 months ago #90187 by Massoud
Replied by Massoud on topic all about K2 and Cache System
I left K2 Jcomment due to problem, and I've did every possible things but does not solve the problem.

for counter issue I removed all of the counter because it does not work at all when the cache system is on

and about lots of files, I could not find any solution so I have to remove cache files once a day.

Thank you for pursuing

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #90188 by trip
Replied by trip on topic all about K2 and Cache System
I have sent a message to Fotis, asking if he will take a look at this...
Maybe he will respond directly on this
Matthew

Please Log in or Create an account to join the conversation.

  • Marcos Ortega Miranda
  • Marcos Ortega Miranda's Avatar
  • Offline
  • New Member
More
14 years 5 months ago #90189 by Marcos Ortega Miranda
Replied by Marcos Ortega Miranda on topic all about K2 and Cache System
Hi, any solution to this? K2 generates a lot of cache files and they end even producing ocasional out-of-memory errors in the cache management...

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #90190 by Matthew Philogene
Replied by Matthew Philogene on topic all about K2 and Cache System
Hi Marcos

we have not heard anything on this, and I sent a direct message to Fotis hoping he would take a look at this, unless the latest svn versions solve this, I am not sure.

 

Have you tried contacting him ?

Matthew

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #90191 by JoomlaWorks
Replied by JoomlaWorks on topic all about K2 and Cache System
It's normal for the cache to grow fast if you have it set at 2 mins for example. What you need to do is install Admin Tools by Akeeba Backup and set one of it's system plugins to clear the "expired" cache objects and thus maintain your site "fit".

 

Regarding hits... this is not a bug, it's how Joomla! works... If the cache is on, php is not recompiled, so Joomla! or K2 cannot "record" these hits. It's best to use Google Analytics for real stats. But statistically speaking, the actual count of hits recorded in Joomla may be lower overall, but the hit comparison between items will be the same (again, statistically speaking).

 

What we plan to do in the future is offer an ajax based mechanism to track page hits using javascript.

 

JComment has a K2 plugin and when it's present along with K2, it will replace K2's built in comments system. Just disable the JComments K2 plugin if you don't want that...

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #90192 by Matthew Philogene
Replied by Matthew Philogene on topic all about K2 and Cache System
Hi Fotis

thanks for the reply, we are using a plugin to clear out the expired cache... and I agree that stats can be skewed no matter which system you are using, so I guess one has to settle for something which is more or less accurate...

 

thanks for following up

Matthew JoomlaWorks said:

It's normal for the cache to grow fast if you have it set at 2 mins for example. What you need to do is install Admin Tools by Akeeba Backup and set one of it's system plugins to clear the "expired" cache objects and thus maintain your site "fit".

 

Regarding hits... this is not a bug, it's how Joomla! works... If the cache is on, php is not recompiled, so Joomla! or K2 cannot "record" these hits. It's best to use Google Analytics for real stats. But statistically speaking, the actual count of hits recorded in Joomla may be lower overall, but the hit comparison between items will be the same (again, statistically speaking).

 

What we plan to do in the future is offer an ajax based mechanism to track page hits using javascript.

 

JComment has a K2 plugin and when it's present along with K2, it will replace K2's built in comments system. Just disable the JComments K2 plugin if you don't want that...

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #90193 by Jerry Garner
Replied by Jerry Garner on topic all about K2 and Cache System
I dont suppose you would have any idea why my cache files would be created with an expiration date of Dec 31, 1969?? They're basically expired decades before they are created, which sort of negates the purpose of caching.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #90194 by Marco Elric
Replied by Marco Elric on topic all about K2 and Cache System
Hi this is out of topic but I use K2 and Joomla it always eat too much server load. can any one point me to any k2 performance optimization. my global cache & cache plugin(with browser cache set to yes) is enable. I always encounter Internal server error every time my site got high traffic I average 30K visit per day..so far im about to give up with k2 and joomla :( still in search for ways to make it stable

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #90195 by Matthew Philogene
Replied by Matthew Philogene on topic all about K2 and Cache System
@MarcoIf you are getting this kind of traffic you should be making sure your server is geared to handle this sort of traffic.

Enabling the cache etc helps. If your server is throttled in anyway this would be an issue.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90196 by Jerry Garner
Replied by Jerry Garner on topic all about K2 and Cache System
Sorry, but this K2 caching system really isn't that great. If I copy a K2 site into 1.7 (without K2) and compare the two sites, the K2 version is noticeably slower.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90197 by Matthew Philogene
Replied by Matthew Philogene on topic all about K2 and Cache System
There could be many variables to look at...
Your server
Your template ie how many mods or plugins you are loading
All these can have an effect

K2 works well.. Just take time to check settings and remove stuff which is not needed.




Jerry G said:Sorry, but this K2 caching system really isn't that great. If I copy a K2 site into 1.7 (without K2) and compare the two sites, the K2 version is noticeably slower.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90198 by Jerry Garner
Replied by Jerry Garner on topic all about K2 and Cache System
Oh, it works well, it is just slower than 1.7. That's all I'm saying, and it's partially because of the way the K2 caching system works.

 

My other problem is these category links at the top of pages. I'm able to get rid of it on some pages, but not on others, and it makes no sense as to why. No one on this forum seems to have an answer to it and it looks quite ugly the way it is. It's enough that I'm thinking about just scrapping K2 and starting from scratch with 1.7. I can always add comments and tags to that in a matter of minutes and then it will have all the same features.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90199 by Matthew Philogene
Replied by Matthew Philogene on topic all about K2 and Cache System
Settings ... Check your settings

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90200 by Jerry Garner
Replied by Jerry Garner on topic all about K2 and Cache System
I'm not entirely sure what you mean by that. I turned off category images, and made sure everything related to displaying categories was set to no/hide. Then on my menu items, I set include child categories to no, and set it to display 10 leading and 0 others. On some pages this change takes effect and the links do not appear at the top of the page. On most, however, it just reverts right back to the default format as soon as I click save (being something like 2 leading and 4 of the others, with show child categories marked back to yes). I've never figured out why I got it removed from some pages but not others, but I can assure you, the settings are the same for all of them (at least until I click save and it reverts back to the default).

 

Another problem I have with a different K2 template I've started working with recently is that it doesn't let me show more than 20 K2 users. If I set it to display a higher number of users, I am returned a blank page. If I try to use any other filter, I am returned a blank page. If I leave it at 20 and try to click the next button, I am returned a blank page. And once I get the blank page, the only way I can see the first 20 again is if I log out and log back in, but I can still only see the first 20. So now I have a site with 27 authors and can only set up bios/avatars for 20 of them.

 

Seems like the more I use it, the more bugs I encounter. I'm gonna try to do a fresh K2 upgrade and see if that fixes the users issue on that template, but still, if I can't get those category links off the top of the pages then it's for nothing anyway, because it just looks too unattractive to keep.

 

Thanks for your help/input though. I do appreciate that. It's more than I received on the thread I started about it.

 

 

edit...I should clarify that when I say I am returned a blank page, what I mean is that the page loads normally, but that the list of users is empty. It's not actually an all-white screen, it is just that there are no users visible.

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #90201 by Dexter Bayack
Replied by Dexter Bayack on topic Re: all about K2 and Cache System

Fotis Evangelou wrote: What we plan to do in the future is offer an ajax based mechanism to track page hits using javascript.


Was this ever implemented?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum