HELP!!!! anybody who knows php here?
dep
dep
Mon May 17 11:39:07 PDT 2004
begin Federico Voges's quote:
| Ok, then open jpcache.inc.
[much cut]
yes, thanks. i have tried that; problem appears to be that the
"Accept-Encoding" browser header overrides it. which means that what
gets cached is whatever that particular browser can accept, which is
insane. even more insane is that numerous browsers claim to accept
things which they can't, and that is before they pretend to be
browsers they aren't. to top it all off, if there is nothing
specified in getEncoding(), php>=4.1 assumes that it can send
whatever it damn well pleases, which is gzipped or deflated. where,
exactly, this takes place i do not know; it may not even be in
jpcache but instead in the php implementation itself. so it looks as
if i need to find out the syntax for passing the permissible value
corresponding to text/html to getEncoding() and hardwiring it in. but
there is no listing that i can find of permissible values; nor do i
know how to code it.
if it didn't default to everything, i could just nuke the
getEncoding() section and be content with it caching normal html. but
no. nor am i the only person to have encountered this:
http://www.phpbuilder.com/annotate/message.php3?id=1009203
but i've found nowhere that it's fixed.
there's *got* to be a way to force text/html. but after a week of
looking, i sure haven't found it.
--
dep
http://www.linuxandmain.com -- outside the box, barely within the
envelope, and no animated paperclip anywhere.
More information about the Linux-users
mailing list