4 ms·
One big problem for me with server-side analytics : you can't use CDN (like CloudFlare). Or nice caching. Your setup need that requests hits PHP, but most req
by Nikkau 15y ago
One big problem for me with server-side analytics : you can't use CDN (like CloudFlare).
Or nice caching.
Your setup need that requests hits PHP, but most requests hits Varnish on most setups.
- no_more_death 15y agoYes. Right now we are looking at installing an affiliate plugin on a Magento site with Varnish caching. Instead of inventing a new Magento/Varnish plugin, we are planning to use a javascript-driven solution.
- hughw 15y agoActually, CloudFlare tells you the client's IP in a header CF-Connecting-IP, so you can add that to your log format.
- latitude 15y agoIf a Varnish instance keeps access logs, they can be used as traffic data source instead of the actual webserver. It makes no difference.