Hi there!
For some reasons I can't install version 1.5 so I have a question to Matt: do you
still call $request -> no_cache (1) if AxNoCache On directive is present ? If it's
true this behavior is not so good.
Imagine that you have some pages that changes randomly and some pages that aren't. So
you can't turn caching on because this will break randomly changing pages.
Consequently you will have no_cache(1) call, which leads to Expires header in http
response. But all proxies and indexing robots ignores pages with Expires header. So
your stable pages aren't cached nor indexed.
In our installtion of AxKit I've commented out this call. Now all perl scripts at
simple requests set header Last-Modified to 'now'. Than for requests with
If-Modified-Since they perform as usual if modified and respond with status 304 (and
empty body) if not modified. In the last case there is no overhead for cache checks at
all - response is thrown directly to browser (or proxie).
Another thing - version 1.4 of AxKit crashed while eating empty output of script. This
occured after extracting styles from XML. get_styles function returns undef in this
case and you use this undef as array reference without check.
Ciao, OLeG
-----------------------------------------------------------------
Oleg Assovski, Development dept., Bitcom Ltd., Moscow
We make few little bugs,
we compensate with a lot of big ones
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]