?

User tests: Successful: Unsuccessful:

avatar dfritsch
dfritsch
13 May 2014

I was facing the same issue as this tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=11410&tracker_item_id=29831 which was closed as expected behavior.

This is a simple shift of the hit trigger from the view to the controller, which is run even when the basic cache is enabled.

If this is an acceptable improvement, I can add a similar change to the appropriate 3.x branch.

avatar dfritsch dfritsch - open - 13 May 2014
avatar wilsonge
wilsonge - comment - 14 May 2014

I like the change - especially because now you have hits triggered on more than just a html view (e.g. a feed view of your page). However can this not go into the article controller rather than the main parent controller?

Also massive ++ to removing this from the view - it's clearly controller logic

avatar bwmarkle
bwmarkle - comment - 22 May 2014

Are we sure the controller is being executed when we're doing page caching?

In Joomla 3.3, I threw in a die() statement and an echo in the components/com_content/controller.php, and when I have caching enabled, these lines of code are not executed.

avatar brianteeman brianteeman - change - 8 Aug 2014
Labels Added: ?
Removed: ?
avatar masoksian
masoksian - comment - 16 Aug 2014

Yes, when page caching is enabled (system cache plugin), this fix does not work.
I've tried.

But;
at the following address solution really works.

http://www.inmotionhosting.com/support/edu/joomla-3/increase-hits-cache

Can we convert it to fix the core?

avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 2 Sep 2014
Category Cache
avatar brianteeman brianteeman - change - 1 Jan 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-01-01 13:02:36
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 1 Jan 2015

Thanks for working on this. Unfortunately this did not make it into the final release of Joomla 2.5, or it was handled elsewhere, so this is being closed. If you feel this is still a valid issue in Joomla 3 please create a new issue.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3591.
avatar brianteeman brianteeman - close - 1 Jan 2015

Add a Comment

Login with GitHub to post a comment