--
You received this message because you are subscribed to the Google Groups "page-speed-discuss" group.
To post to this group, send email to page-spee...@googlegroups.com.
To unsubscribe from this group, send email to page-speed-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/page-speed-discuss?hl=en.
> --
>
> You received this message because you are subscribed to the Google Groups
> "page-speed-discuss" group.
> To post to this group, send email to page-spee...@googlegroups.com.
> To unsubscribe from this group, send email to
> page-speed-disc...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/page-speed-discuss?hl=en.
>
>
>
--
Sent from my mobile device
Richard Rabbat | Product Manager | Google, Inc.
E: rab...@google.com | M: +1-650-714-7618 | Google Voice: +1-617-213-0819
On Oct 19, 10:39 am, Kara Moscoe <kmos...@google.com> wrote:
> In the case you are citing, you are still using the same domain, mysite.com.
> When a cookie is set for a domain, it is set for all hosts on that domain.
> (Even though you only use the GA code on the www page, the GA code probably
> sets the cookie on the general domain name, not on a specific hostname.)
> You need to have an entirely different domain name, e.g. myothersite.com.
>
> Does that help?
> Kara
>
> > page-speed-disc...@googlegroups.com<page-speed-discuss%2Bunsu...@googlegroups.com>
On Dec 17, 3:50 pm, Kara Moscoe <kmos...@google.com> wrote:
> Hi Mark,
>
> You don't actually need two separate servers. You can use CNAME records in
> your DNS setup to point to a single server. In other words, you can still
> host all the images on the mydomain.com server, but create a CNAME record
> for myseconddomain.com that points to mydomain.com, and use the
> myseconddomain.com as the referencing URL for all the images. Seehttp://code.google.com/speed/page-speed/docs/request.html#ServeFromCo...
> for
> an example of how Google does it.
>
> Hope this helps,
> Kara
>
> > page-speed-disc...@googlegroups.com<page-speed-discuss%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to page-speed-disc...@googlegroups.com.
I try two code and neither
_gaq.push(['setDomainName','www.exemple.com']);
nor
_gaq.push(['_setDomainName','www.exemple.com']);
hide the cookies from my static.exemple.com server...
Analytics set the cookies.
On Dec 18, 4:46 pm, Kara Moscoe <kmos...@google.com> wrote:
> As mentioned elsewhere on this thread, using a subdomain, i.e.
> static.example.com won't work. Cookies are set for all hosts on *.
> example.com <http://yourdomain.com/>. You actually need to register a new
> domain name such as example2.com and serve the static content from there.
>
> Kara
>
>
>
> On Fri, Dec 18, 2009 at 12:45 AM, Bruno <bruno.sa...@globalis-ms.com> wrote:
> > The setDomainName with asynchronous seems not working
>
> > I try two code and neither
> > _gaq.push(['setDomainName','www.exemple.com']);
> > nor
> > _gaq.push(['_setDomainName','www.exemple.com']);
> > hide the cookies from my static.exemple.com server...
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "page-speed-discuss" group.
> > To post to this group, send email to page-spee...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > page-speed-disc...@googlegroups.com<page-speed-discuss%2Bunsubs cr...@googlegroups.com>
The other thing is, this wouldn't be so much of an issue if 3rd party
widget suppliers (e.g. Google's Friend Connect & Analytics) used
smaller cookies, especially when these cookies are set for the domain
name of the website and not Google's domains. Cookies shouldn't be
used to store an entire encyclopedia of information. Why on earth
does Google need 200 bytes of information stored in cookies for just
one or two of their widgets?
http://www.kensfi.com/serve-static-content-from-a-cookieless-domain/
There are many things about http that I would change if I could,
but getting an update into the http spec and getting all browsers to
implement the change is a huge undertaking. There is an effort to
provide an alternative to http that can get better performance:
http://www.chromium.org/spdy/spdy-whitepaper
Sam
Thanks for the great link. I'm glad to see someone is working on it.
Maybe in another ten years the issue of needing a cookieless domain
for static content will be eliminated.
In the mean time I think we should lobby our ad and other widget
providers (e.g. AdSense) to use smaller cookies. I say no cookie
should be over 40 bytes, which is just enough for a 32 byte GUID and
key name. Also any widget should only place a single cookie (Google
you listening?)
--
You received this message because you are subscribed to the Google Groups "page-speed-discuss" group.
To post to this group, send email to page-spee...@googlegroups.com.
To unsubscribe from this group, send email to page-speed-disc...@googlegroups.com.
// This is copied from a site that will never use HTTPS so the SSL
part has been removed.
/*<![CDATA[*/
var _gaq=_gaq || [];
_gaq.push(["_setAccount", "UA-XXXXXXX-X"]);
_gaq.push(["_setDomainName", "none"]);
_gaq.push(["_trackPageview"]);
(function(g){
g.type="text/javascript";
g.async=true;
g.src="//www.google-analytics.com/ga.js";
(document.getElementsByTagName("head")[0]||
document.getElementsByTagName("body")[0]).appendChild(g);
}(document.createElement("script")));
/*]]>*/
Google recommends putting this as the last script in the head section
of your page.
Thanks.
To unsubscribe from this group, send email to page-speed-disc...@googlegroups.com.
On Dec 18 2009, 10:53 am, Andrea <andreapern...@gmail.com> wrote:
> I tried with an external domain and it doesn't work.
>
> Analyticssetthe cookies.
>
> On Dec 18, 4:46 pm, Kara Moscoe <kmos...@google.com> wrote:
>
> > As mentioned elsewhere on this thread, using a subdomain, i.e.
> > static.example.com won't work. Cookies aresetfor all hosts on *.
Before testing your new configuration, remember to empty your
browser's cookies, to be sure that currently set cookies will not be
reused while you're testing.
On Jan 24, 8:41 am, Civilized Group <supp...@civilizedgroup.com>
wrote: