Hi,

How to deal with (google's and others) If-Modified-Since requests from
your dynamic mason pages?

Offhand I'd do it thusly:

1) check incoming header for If-Modified-Since, 

2) parse date, store it,

3) check lastmod date of page data (db query or other),

4.1) if modified send regular 200 answer,

4.2) if not $m->abort(304)? (need to add another header?)

Comments, suggestions welcome,

-- 
http://www.critikart.net

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to