hey there, I was wondering if this module would still count page views on the site? I would love to install Boost, but I really need to keep counting node views on the whole site, is this possible with statistics module or maybe the new Quickstats module??
If this is not doable now, are there any ways this would be doable using custom code?
thanks a lot
Patchak
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | boost.module.patch | 2.24 KB | mikeytown2 |
Comments
Comment #1
andreiashu commentedBoost works by caching/saving the html output of a page, so after it is generated the (anonymous) users that visit that page will get the static html of that page.
So, short answer: no, page views will not work properly with boost. It will count the number of authenticated views for that node but it won't count the anonymous users that viewed that node.
Comment #2
mikeytown2 commentedlook into http://drupal.org/project/authcache
Comment #3
mikeytown2 commentedhttp://groups.drupal.org/node/22573
This would most likely be implemented as a separate module. It's no longer "hard to do" in my mind...
Comment #4
mikeytown2 commentedcall via
img src='boost_image.php?id=***'Comment #5
mikeytown2 commentedThis is where the magic happens; all I need is the NID
http://api.drupal.org/api/function/statistics_exit
Supporting the access log would be hard to do; would have to get the referrer via javascript most likely.
Once basic stats is working, see if any other modules can easily be supported as well.
http://drupal.org/project/modules?filters=drupal_core:87%20tid:119&solrs...
Untested Code Below!
boost_image.php would go into website root (2nd half of the code).
Then insert the image code into each node (http://api.drupal.org/api/function/hook_footer)
Comment #6
mikeytown2 commentedSession & referrer not set correctly in access log.
Comment #7
mikeytown2 commentedJavascript referrer, something like this
Comment #8
mikeytown2 commentedjavascript referrer not added.
committed.
Comment #9
mikeytown2 commentedComment #10
mikeytown2 commentedcommitted.
Using javascript for referer should be in a new issue.