Patches item #608957, was opened at 2002-09-13 12:31 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304866&aid=608957&group_id=4866
Category: WebKit Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ken Lalonde (kenlalonde) Assigned to: Stuart Donaldson (stuartd) Summary: If-Modified-Since support Initial Comment: WebKit makes no use of the If-Modified-Since HTTP header, which makes static content service inefficient. Of course, you can move your static content to a separate HTTP server, but adding support for If-Modified-Since buys most of the benefits and costs little. The attached patch modifies mod_webkit to pass the If-Modified-Since header via the request environment dictionary. While arguably less than elegant, this does the trick. The patch to UnknownFileTypeServlet checks the IMS value against the file's mtime. If it matches, it sets "Status 304" and sends no content. (It also corrects some unlikely but possible bugs.) ---------------------------------------------------------------------- >Comment By: Ken Lalonde (kenlalonde) Date: 2003-02-14 16:41 Message: Logged In: YES user_id=203927 Here is a third version of the patch, against today's CVS. The PSP caching is now off by default, to avoid breaking existing code. I've added a patch to mod_webkit2. The patch to UnknownFileTypeServlet includes changes made in the meantime. ---------------------------------------------------------------------- Comment By: Ken Lalonde (kenlalonde) Date: 2002-09-23 16:14 Message: Logged In: YES user_id=203927 Here is an improved version of the above patch. This version moves the If-Modified-Since logic up to the HTTPServlet level, so it may be used by other factories. I've modified PSP so that "static" PSP pages may be cached at the client. ("Static" pages are those that don't use any dynamic PSP hooks.) There's also a fix to a typo in Session.py. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304866&aid=608957&group_id=4866 ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel