On Mon, 14 Feb 2000, Joshua Chamas wrote:
Aaron Ross wrote:
hi Dmitry!
Wouldn't it be great it someone came up with a general solution for this...
some kind of logical class from which you could inherit and implement the
necessary methods.
There was an interesting thread
The immediate problem I see with this approach, is that
$Response-LastModified() can only be called once per request. Consider a
situation when a single asp file has multiple includes and each include is
generated from a separate datasource. In this case, each include has to
report back
But meets_condition is a file specific API and will not work for data
coming from a database or a subrequest, etc.
Dmitry
At 01:08 AM 2/14/00, Matt Sergeant wrote:
Isn't this handled by meets_condition?
On Mon, 14 Feb 2000, Joshua Chamas wrote:
What if it were just an Apache routine, like
Dmitry Beransky wrote:
The immediate problem I see with this approach, is that
$Response-LastModified() can only be called once per request. Consider a
situation when a single asp file has multiple includes and each include is
generated from a separate datasource. In this case, each
On Mon, 14 Feb 2000, Dmitry Beransky wrote:
But meets_condition is a file specific API and will not work for data
coming from a database or a subrequest, etc.
I don't think there's anything file specific about meets_condition. Simply
call $r-update_mtime() with the time given in your data or
Dmitry Beransky wrote:
(Joshua, promise to let me know when you get tired of my "ideas" and I'll
stop :-)
No, this wouldn't make sense for most scripts which will
contain dynamic parts.
What about a situation when the content is been dynamically generated from
a source that doesn't
hi Dmitry!
Wouldn't it be great it someone came up with a general solution for this...
some kind of logical class from which you could inherit and implement the
necessary methods.
There was an interesting thread about this problem with Mason. I'm sure it's
come up before with ASP. The
Hi,
Having searched through the documentation, source code and the archives I
found no references to how Apache::ASP works with the validation
model. I'm primarily talking about handling the 'Last-Modified' and
'If-Modified-Since' headers. Does it at all?
Cheers
Dmitry
---
Dmitry Beransky
Dmitry Beransky wrote:
Hi,
Having searched through the documentation, source code and the archives I
found no references to how Apache::ASP works with the validation
model. I'm primarily talking about handling the 'Last-Modified' and
'If-Modified-Since' headers. Does it at all?
No,
(Joshua, promise to let me know when you get tired of my "ideas" and I'll
stop :-)
No, this wouldn't make sense for most scripts which will
contain dynamic parts.
What about a situation when the content is been dynamically generated from
a source that doesn't change often, but in an
10 matches
Mail list logo