[kronolith] Re: performance hit caused by dynamic javascript?

Chuck Hagenbuch chuck at horde.org
Thu Jan 16 12:01:57 PST 2003


Quoting Tom Cooper <tcooper at quarterend.com>:

> Do the parameters in  RELENG_2 horde/javascript.php line 19, need to be
> reversed - strstr(haystack,needle).

Yes, committed, thanks.

> I have updated horde/javascript.php to cvs head.
> I'm still having cache problems with goto.js. I am NOT having cache
> problems with css.php(must have been pilot error).  I am reading up on
> the http headers.

Okay...

> lynx --head 'http://k2/horde/javascript.php?file=goto.inc&app=kronolith'
> ----------------------------
> Cache-Control: public, max-age=86400
> Pragma: no-cache

That looks like the problem, huh?

Try what I just committed (both HEAD and RELENG_2).

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*


More information about the kronolith mailing list