Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339846

Summary: [server] Use ETag in /git/commit
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: malgorzata.tomczyk, Szymon.Brandys
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-03-14 04:22:32 EDT
We could detect the case where a GET /git/commit is called for a history state which hasn't been changed since the last /git/commit request. This could be accomplished by using an ETag and/or If-Modified-Since header to make GET return 304 (Not Modified).
Comment 1 Tomasz Zarna CLA 2012-03-16 05:33:39 EDT
This could make a huge difference when init'ing a new repo on the Repos page. Currently, after the new repo has been added logs for the other repos are fetched again. Adding the new repo should be a quick operation, waiting for the page to reload takes way too much time.
Comment 2 John Arthorne CLA 2015-05-05 14:46:33 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html