                     
                     #console.log 'check', date , @req.headers['if-modified-since'], date && date.toString() is @req.headers['if-modified-since']
                     
-                    if date && date.toString() is @req.headers['if-modified-since']
+                    if date && date.toUTCString() is @req.headers['if-modified-since']
                         #console.log 'res 304', date , @req.headers['if-modified-since']
                     
                         return @_end null, 304

                
                if !@data.disabled
                    
                    if req.session.user
                        storage = req.session.HttpCacheStorage ?= {__name: 'private'}
                        
                    else

                    
                        #console.log 'next create', date , @req.headers['if-modified-since']
                        
                        headers['Last-Modified'] = date.toUTCString()
                        
                        next body, headers, status
                        
