ignore-cookies ?

13 views
Skip to first unread message

Chris

unread,
Oct 30, 2009, 10:59:21 PM10/30/09
to mod_cache
Hi-

First of all, thank you so much for the work you've put into
mod_cache!

We are having a problem that a lot of people must run into - we are
looking to have control to cache files that have cookies set (similar
to how "ignore-vary" works).

How come this isn't included by default? Is it possible and easy for
you to include it in the main release?

Thanks,
Chris

shellcode

unread,
Oct 31, 2009, 12:03:44 AM10/31/09
to mod_...@googlegroups.com
Do you mean to cache response with 'Set-Cookie' header, which may cause other users got the cached private response of specific user

Chris Ueland

unread,
Oct 31, 2009, 1:01:41 AM10/31/09
to mod_...@googlegroups.com
Correct. To have an override. For images, for example

On 10/31/09, shellcode <shel...@gmail.com> wrote:
> Do you mean to cache response with 'Set-Cookie' header, which may cause
> other users got the cached private response of specific user
>
> >
>


--
-------------------------
Chris Ueland

NetDNA™
The Science of Acceleration™

Email / gtalk: ch...@ueland.com
P: 1.877.5-NETDNA (963-8362)
P: 1.323.620.1874
AIM: ch...@netdna.com
www.NetDNA.com

don

unread,
Oct 31, 2009, 12:55:43 AM10/31/09
to mod_cache
Hi,

Is there anyway to strip the "Set-Cookie" header and may the response
cacheable? We are using a wordpress module and the "Set-Cookie"
header was added in automatically. Is there anyway to get around that?
And also we found that if the backend server is doing compression on
file like css or js. The frontend mod_cache server will refuse to
cache it because of the "Conten-Encoding" header. Is that something
you can work on also?

Thanks
Don

shellcode

unread,
Oct 31, 2009, 3:04:15 AM10/31/09
to mod_...@googlegroups.com
Don, it's better to turn off backend's compress and use modcache's internal "memory-compress" feature or mod_compress module.

here is a ppt that explain modcache in more detail, http://blog.quehy.com/doc/0628.ppt.

it's not difficult to add 'ignore-setcookie' to modcache, it will be available in next release

Chris

unread,
Oct 31, 2009, 3:13:04 AM10/31/09
to mod_cache
awesome.

it would be great if you can release 'ignore-setcookie' soon.

Do you accept donations? We'd like to send you some money or can
donate some hosting for your great work.

On Oct 31, 12:04 am, shellcode <shellc...@gmail.com> wrote:
> Don, it's better to turn off backend's compress and use modcache's internal
> "memory-compress" feature or mod_compress module.
>
> here is a ppt that explain modcache in more detail,http://blog.quehy.com/doc/0628.ppt.

shellcode

unread,
Oct 31, 2009, 7:05:04 AM10/31/09
to mod_...@googlegroups.com
I just update modcache to v1.8.1, add 'ignore-set-cookie' option to cache.refresh-pattern.
usage of  'ignore-set-cookie' is similar with usage of 'ignore-vary'.


note:
  improper usage of 'ignore-set-cookie' may cause unexpected information leak, uses it carefully.

Chris Ueland

unread,
Oct 31, 2009, 2:25:35 PM10/31/09
to mod_...@googlegroups.com
Thanks!

Can we make a donation somewhere?

--Chris

shellcode

unread,
Oct 31, 2009, 9:11:51 PM10/31/09
to mod_...@googlegroups.com
modcache is free and you don't need to make donation to me.

anyway, thank you very much
Reply all
Reply to author
Forward
0 new messages