Are you using them by themselves, or mixing with other headers like Last-Modified? I haven't had any real problem with them - do you have an example of what you're doing?
Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative ________________________________ From: till <klimp...@gmail.com> To: Nico Edtinger <list-zf-gene...@nico.edtinger.at> Cc: Pádraic Brady <padraic.br...@yahoo.com>; Zend Framework General <fw-general@lists.zend.com>; zf-contribut...@lists.zend.com Sent: Tuesday, January 20, 2009 2:56:55 AM Subject: [fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal Since this seems to be the thread -- I was wondering, did any of you guys play with etags yet? I've tried them for a week or so and I could dig up my code to demonstrate how far I got, but in the end I couldn't get it to comply with any browser. I tested my code with cURL vs. the Yahoo! frontpage and had it all looking like them -- e.g. it actually sent the correct status code and also the etag, etc., but my efforts caused a blank page in some browsers. Thoughts? Till On Tue, Jan 20, 2009 at 12:50 AM, Nico Edtinger <list-zf-gene...@nico.edtinger.at> wrote: > I was thinking about something similar myself. The problem is not so much > getting a static html cache, because that's already possible, but getting a > predictable filename and an easy way to access the timeout/expiry, without > using PHP. My goal would be using Lighttpd with a very short Lua script to > serve a static version, without having to start the PHP interpreter and > setting the mtime to a future date as expiry. As it was only an idea and I > didn't really had much time I just took a quick look if that would be > possible with Zend_Cache, but found out, that methods I'd need are declared > as private. > > nico > > Pádraic Brady wrote: >> >> Hi all, >> >> In between writing and actually finishing proposals for a change >> (Zend_Oauth will be ready this weekend!), I've been putting together some >> fragments of code I've been using with Zend_Cache over the months. >> >> At present, Zend_Cache offers the Page Frontend which does a really great >> job, but there are cases where caching to static HTML files is an option and >> I would like to propose such an addition. It's not without it's problems, >> especially since Backend validation seems to be performed by the Frontend >> (Zend_Cache_Core has a few private static methods), but I can muddle on >> through :). >> >> Any comments or ideas are welcome. In the future I may also take a stab at >> looking into integrating cache control closer to our Controllers, Views and >> Models since to be honest, the present DIY system has me writing lots of >> wiring code and managing cache expiry manually in a dozen different ways >> depending on my mood. I like to think adding better integration would >> alleviate some of this pain for others. >> >> Being the writer of mega 4000 word blog posts that I am (think my wrist >> just fell off...), I've written up a barebones prototype as part of another >> fabulous put-you-to-sleep blog post. I'll be posting it over the weekend, >> but if anyone is interested in a quick copy now to see what I'm moaning >> about, just drop me a line. >> >> Best regards, >> Paddy >> >> Pádraic Brady >> >> http://blog.astrumfutura.com >> http://www.survivethedeepend.com >> OpenID Europe Foundation Irish Representative > >