Serve piwik.js from a varnish cache


#1

Can i put the piwik.js file (JavaScript tracking client) on a Varnish cache? My piwik server gets loaded at times and serving becomes slow.


(vipsoft) #2

You can put piwik.js varnish cache though I don’t know how much this will improve system load since it is a static file, and browsers should cache it for subsequent page views.

The bigger hit is probably in/at the database.