Re: Re: Last-Modified http header
Brian Sullivan <[email protected]>
| Newsgroups | gmane.comp.python.zope.coreblog.english |
|---|---|
| Message-ID | <[email protected]> |
> Did you have any success with "If-Modified-Since" Headers triggering > HTTP 304 "not modified" responses? I have set up similar code in the > entry_html dtml-method, but it does not seem to work: The logs show > that I'm still serving out the full pages to clients. Either those > clients don't do "if-modified-since" in requests, or else I might need > some more setup. (It's unlikely to be the clients fault, since I see > some web crawlers get full content always.) > > Do I need an "Accelerated HTTP Cache Manager" for this? > I don't know -- I haven't looked into this. I was just trying to set the last modified time because some aggregators/weblog search engines I think use this. > As for your problem with the "last" last modified time: If you add your > code to the pages that actually loop through the entries, then I think > you can check from inside the loop if you are on the latest entry. (I > haven't implemented that yet.) > Yes you are right -- the entry_body method is the inside this loop -- I was having trouble figuring out the code. _______________________________________________ COREblog-en mailing list COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected] http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]