Hello
I have a problem with optimizing my vBulletin 4.0.3 Forum.
my forum runs on Patientenfragen.net - wir haben die Antworten
I have created 6 subdomains for static content (Images only currently)
http://static1.patientenfragen.net/
http://static2.patientenfragen.net/
I have set the cookie domain for my forum in the acp cookie settings to use patientenfragen.net as cookie domain instead of .patientenfragen.net
In my understanding this should exclude the subdomains from using the vbulletin cookie.
On the subdomains there is no single html nor php file.
Only the images and a htaccess with the following content:
After clearing my browser cache, apc cache and delete all cookies from my website in my browser PageSpeed still tells me that the static... subdomains serve cookies.Code:AddDefaultCharset Off FileETag None ExpiresActive On <IfModule mod_expires.c> ExpiresByType image/gif A2592000 ExpiresByType image/png A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType image/x-icon A2592000 ExpiresByType text/plain A2592000 ExpiresByType text/css A2592000 ExpiresByType application/x-javascript A2592000 ExpiresByType application/pdf A2592000 ExpiresByType application/x-shockwave-flash A2592000 </IfModule>
The cookies still served for .patientenfragen.net are:
- lastvisit
- np_notices_displayed
- lastactivity
- sessionhash
- cpsession
- userid
- password
as well as the google analytics cookies
- _utma
- _utmb
- _utmc
- _utmz
I use the analytics code suggested by digitalpoint and changed .domain.com to domain.com:
How can I fix this?Code:<script type="text/javascript"> google_analytics_uacct = "UA-XXXXX-X";google_analytics_domain_name = "patientenfragen.net";var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-XXXXX-X'],['_setDomainName', 'patientenfragen.net'],['_trackPageview']);(function() {var ga = document.createElement('script');ga.type = 'text/javascript';ga.async = true;ga.src = 'http://www.google-analytics.com/ga.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);})(); </script>
Best regards
StarBuG


LinkBack URL
About LinkBacks





Reply With Quote

