Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: cookieless domain alternative: cookieless directory! |
|
Author |
|
skillsfactory
Joined: 27 Sep 2013 Posts: 11 Location: Italy
|
Posted: Sun 10 Nov '13 15:19 Post subject: cookieless domain alternative: cookieless directory! |
|
|
I'm trying to follow all the guidelines of "Google Page Speed". The directive "Minimize request overhead" requires static content (images, js, css, etc.) on a static server (ie cookieless): https://developers.google.com/speed/docs/best-practices/request
I do not want to buy a new server and I was thinking of just setting a directory of my site without cookie with htaccess
www.mysite.com/static/.htaccess
Code: |
Header unset Cookie
Header unset Set-Cookie
|
I do not know if it can be problematic. Looking on google it seems that no one ever has adopted this type of solution, so I think that it is incorrect. What do you think?
alternatively you could do
Code: |
<FilesMatch "\.(css|js|jpg|png|gif)$">
Header unset Cookie
Header unset Set-Cookie
</FilesMatch>
|
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 11 Nov '13 18:48 Post subject: |
|
|
What is your actual question behind this? |
|
Back to top |
|
skillsfactory
Joined: 27 Sep 2013 Posts: 11 Location: Italy
|
Posted: Mon 11 Nov '13 20:56 Post subject: |
|
|
Minimize request overhead and minimize request size |
|
Back to top |
|
|
|
|
|
|