Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow skipping click tracking with APC_CACHE_SKIP_CLICKTRACK in order…

… to use with the SDB logging
  • Loading branch information...
commit ea8f768378b39bccc5dff292894346877cd39038 1 parent 628bea5
@ianbarber authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 README
View
4 README
@@ -13,6 +13,8 @@ define("APC_CACHE_STATS_SHUNT", "none");
- This will cause the caching of the clicks and logredirects to be disabled, and the queries logged as normal. This is handy if you want to keep the URL caching, but still have 100% accurate stats (though the benefit of the plugin will be pretty small then).
define("APC_CACHE_STATS_SHUNT", "drop");
- This will cause the clicks and log redirect information to be dropped completely (a more aggressive NOSTATS) - so there will be no clicks or logredirects logged.
+define("APC_CACHE_SKIP_CLICKTRACK", true);
+- This will cause the plugin to take no action on click/redirect logging (if this is being handled by another plugin for example).
There are roughly four processes in the plugin:
@@ -24,4 +26,4 @@ Click caching: Rather than writing to the database, we will write first to APC.
Log caching: Similar to the click tracking, but in this case we consider all log writes as separate events in the same buffer. We use an incrementing counter to track our unwritten logs, and after a 2 minute expiry using the same mechanism as before we will flush the cached log entries to the database. Log entries can still be lost, and of course APC may clear items to free cache space at any time, or on webserver restart.
-This plugin is really only for a narrow range of cases - if you want full speed it's probably best to just disable logging any of the log/click information at all, so there are no writes because of it. If you want full information, it's best to log each click. That said, please report any issues in the Github issue tracker.
+This plugin is really only for a narrow range of cases - if you want full speed it's probably best to just disable logging any of the log/click information at all, so there are no writes because of it. If you want full information, it's best to log each click. That said, please report any issues in the Github issue tracker.
Please sign in to comment.
Something went wrong with that request. Please try again.