mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
If such a file is served (e.g. webadmin images) an ETag header is now generated. When the browser needs the file again it sends the ETag back to us in an If-None-Match header and the file isn't transfered again if the ETag still matches. This should greatly reduce webadmin's traffic usage. This also updates HTTPSock to sometimes generate a HTTP/1.1 reply (ETag was added in HTTP/1.1). This was successfully tested with Firefox 2 & 3 and IE7. Konqueror failed badly (No If-None-Match header generated). Thanks to flakes for having the idea, writing the patch and testing it. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1248 726aef4b-f618-498e-8847-2d620e286838
10 KiB
10 KiB