Serve static content from a cookieless domain

3 views
Skip to first unread message

fotofabrik

unread,
Jun 23, 2009, 8:46:48 AM6/23/09
to page-speed-discuss
Hello!
I love this tool, it does a great job on help to improve performance.
I've successfully meet all the required criterias on a testing site,
except one described in title. My (Apache 2.2) webserver always
provides a Cookie. I'm done with these settings:

http://code.google.com/speed/page-speed/docs/request.html#ServeFromCookielessDomain
http://code.google.com/speed/page-speed/docs/caching.html

but Page Speed marks my static files as Medium Priority issues, Cookie-
s are always displayed. Maybe this isn't exactly a Page Speed-related
question but i hope someone helps me to resolve this issue.

Thanks,
Adam

Sam Kerner

unread,
Jun 24, 2009, 12:16:15 AM6/24/09
to page-spee...@googlegroups.com
Adam,
I am not an apache guru, so unfortunately I am not going to be
much help with apache configuration files. If no one answers your
question here, and you can't find an answer in the manual
(http://httpd.apache.org/docs/2.2/), than I would try asking on an
apache mailing list (http://httpd.apache.org/lists.html).

It might help to clarify your goal. Are you serving your static
content from a separate domain? If not, than does any part of your
site require cookies to function? I ask because if you can't disable
all cookies and you have a single host, than you are going to need to
add a host.

Sam

fotofabrik

unread,
Jun 24, 2009, 2:44:01 AM6/24/09
to page-speed-discuss
Hello, Sam!

Of course my static content served from a different domain (but the
same cube - i don't think that's the problem) and the site doesn't
require any cookies to work properly. Cookies still attached to
images, css, etc.
Thanks for the tip with Apache mailing list, i'll try to ask there
too.

Adam

On Jun 24, 6:16 am, Sam Kerner <sker...@google.com> wrote:
> Adam,
>     I am not an apache guru, so unfortunately I am not going to be
> much help with apache configuration files.  If no one answers your
> question here, and you can't find an answer in the manual
> (http://httpd.apache.org/docs/2.2/), than I would try asking on an
> apache mailing list (http://httpd.apache.org/lists.html).
>
>     It might help to clarify your goal.  Are you serving your static
> content from a separate domain?  If not, than does any part of your
> site require cookies to function?  I ask because if you can't disable
> all cookies and you have a single host, than you are going to need to
> add a host.
>
> Sam
>
> On Tue, Jun 23, 2009 at 8:46 AM, fotofabrik<fotofab...@gmail.com> wrote:
>
> > Hello!
> > I love this tool, it does a great job on help to improve performance.
> > I've successfully meet all the required criterias on a testing site,
> > except one described in title. My (Apache 2.2) webserver always
> > provides a Cookie. I'm done with these settings:
>
> >http://code.google.com/speed/page-speed/docs/request.html#ServeFromCo...

Sam Kerner

unread,
Jun 24, 2009, 12:05:17 PM6/24/09
to page-spee...@googlegroups.com
On Wed, Jun 24, 2009 at 2:44 AM, fotofabrik<fotof...@gmail.com> wrote:
>
> Hello, Sam!
>
> Of course my static content served from a different domain (but the
> same cube - i don't think that's the problem) and the site doesn't
> require any cookies to work properly. Cookies still attached to
> images, css, etc.
> Thanks for the tip with Apache mailing list, i'll try to ask there
> too.

Adam,
Sounds like all you need is the right apache configuration
options. Please let us know what you find. It would be great to
document the settings needed to implement this rule for apache (and
other web servers).

Sam
Reply all
Reply to author
Forward
0 new messages