[dev] page display speed under IE in HEAD
Jan Schneider
jan at horde.org
Mon Oct 31 00:48:25 PST 2005
Zitat von Chuck Hagenbuch <chuck at horde.org>:
> Quoting Michael M Slusarz <slusarz at mail.curecanti.org>:
>
>> Can we pass in parameters via 'PATH_INFO' then? i.e. will IE cache a
>> javascript.php call if we call it as 'javascript.php/horde/filename.js'
>> or something equivalent? (my thinking is that IE isn't caching because
>> it sees query parameters and is assuming the page is dynamic).
>
> No, it's not cached because the whole point of javascript.php is to run
> code which includes session values, user preferences, etc. So we have
> this little line:
>
> header('Cache-Control: no-cache');
Can we set a flag in the several .js files then if the only PHP code is
to deal with browser differences? In this case we could safely cache
for the duration of the session.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list