Welcome Guest ( Log In | Register )


Akis
Posted on: Apr 26 2012, 04:49 PM


Newbie
*

Group: Members
Posts: 6
Joined: 26-April 12
Member No.: 1,169


I did it.

Quite simple actually. I loaded a module position into the item.php of k2 using "modules anywhere" extension, which I excluded from caching using jotcache's tags of exclusion. At that position I published the "K2bnr" module with all its settings at off.

Now this module loads all the item's plugins (including votes) and it's output is excluded from page cache by jotcache.....nice smile.gif
  Forum: Seo Optimization · Post Preview: #3383 · Replies: 4 · Views: 5,181

Akis
Posted on: Apr 26 2012, 01:17 PM


Newbie
*

Group: Members
Posts: 6
Joined: 26-April 12
Member No.: 1,169


One more thing I just noticed. The plugin doesn't output the correct values in k2 itemlist view (category), basically it shows 0 votes for all items in any category view.
  Forum: Seo Optimization · Post Preview: #3375 · Replies: 4 · Views: 5,181

Akis
Posted on: Apr 26 2012, 11:30 AM


Newbie
*

Group: Members
Posts: 6
Joined: 26-April 12
Member No.: 1,169


QUOTE (Ivan Stamenov @ Apr 26 2012, 11:36 AM) *
Hello, Akis.

Unfortunately the MFV plugin is unable to tell when a page is loaded from a cache as in this case it is not called at all.

If your cache system(s) allow a specific cache entry to be rebuilt on demand, this is what you are looking for. The plugin can be altered in such a way that when a user vote is accepted, the MFV will invalidate the relevant page's cached copy, which will have to be rebuild the next time the page is displayed, thus displaying the correct data.

Currently we are unable to examine the extension suggested by you. It will probably work if the relevant data is provided to it: context, item ID and item title (please see the plgMFV tag refference).

Best regards,

Ivan


Hello

Thank you for the answer. However I cannot seem to find instructions about the tag reference for K2. The text file in the archive doesn't explain about K2. Can you help?

p.s. I found another nice little extenion called K2 Bnr, and supposedly it takes any part of a k2 item and outputs it in a module, which might work exactly as I want it to, haven't tested it yet, will report back if i'm successful
  Forum: Seo Optimization · Post Preview: #3374 · Replies: 4 · Views: 5,181

Akis
Posted on: Apr 26 2012, 02:27 AM


Newbie
*

Group: Members
Posts: 6
Joined: 26-April 12
Member No.: 1,169


Hello

I recently purchased the Microformats Votes which I use with K2 in joomla 1.5 . However I have a game breaker bug looking at my face and if you guys can't help I'll have to remove rating alltogether.

The problem is that I have a very sophisticated cache system with 3 different levels of cache.... memcache - template cache - page cache (heavily moded Jotache plugin...a much better system-cache) and rating does not play well with the page cache. Even though the vote is registering in the database and the plugin outputs its stuff, as expected, when page reloads, it loads the cached page ofc, which has the whatever number of votes (depending on when was the cache taken. I don't use cache lifetime for the page cache, i don't need to. I manually delete the cache of the few pages I need. I was planning to let thousands of pages on cache forever, or until content updated, then i remove the specific page cache manually). What's worse is that google also, as expected, sees the cached page's rating.

Clearing the whole cache is not an option.

With jotcache i've been able to exclude many module positions from page cache, and it works like a charm.
Maybe something like that is possible with the voting as well? I think it's common sense to not cache the rating...by ANY cache system. I think it merits an update asap, a whole integer up on the version.

What do you think?


e.g. if i could couple the "plugin in module" extension with the microformat votes plugin (is this possible? pls take a look http://extensions.joomla.org/extensions/co...a-include/6713), in order to put it in a module, then i could easily use the jotcache feature of excluding modules and voila. just an idea
  Forum: Seo Optimization · Post Preview: #3372 · Replies: 4 · Views: 5,181


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 17th September 2019 - 12:27 AM
Clicky Web Analytics