Closed GoogleCodeExporter closed 9 years ago
May be useful: this is the response header I get from my server:
200 OK Loading time: 11
Request headers
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like
Gecko) Chrome/26.0.1410.63 Safari/537.31
Content-Type: text/plain; charset=utf-8
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,it-IT;q=0.6,it;q=0.4
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response headers
Cache-Control: public, max-age=3600, s-maxage=3600
Content-Type: application/json;charset=UTF-8
Content-Language: en_US
ETag: "fdb010b093e442a4509f9209aab9ca5f"
Last-Modified: Thu, 16 May 2013 16:10:14 GMT
Date: Thu, 16 May 2013 16:27:21 GMT
Vary: Accept, Accept-Language
Age: 0
Server: Jetty(6.1.21)
it takes more or less 4 seconds, when I do the second time it take 11
milliseconds and the server doesn't receive any call.
REST Client: Application version: 3.1.5
Original comment by daniele....@gmail.com
on 16 May 2013 at 4:30
Hi,
Thanks for your issue report.
The app is not managing Chromes internal caching system. All requests (event
those made by the application) are internally cached by Chrome.
While developing you should disable cache. Go to Chrome Developer Tools ->
Settings -> under "General" select "Disable cache".
Original comment by jarro...@gmail.com
on 16 May 2013 at 4:58
Nope.
I never had to disable the cache while developing.
And I'm not gonna disable it now.
Your client should make sure chrome do not cache its request.
Other REST client out there can do that just fine without me having to disable
caching.
Your client is well done in terms of UI and features but if you are not fixing
this I'm gonna uninstall it and rate it low, sorry but that's a must for an
application like this.
Regards
Original comment by daniele....@gmail.com
on 16 May 2013 at 5:02
I did a quick look for hows other clients avoid cache in chrome. And they do it
in the way that i can't afford. They either append random string for URL or add
no cache headers.
I will not alter the request you made to avoid cache system. It shouldn't work
this way. ARC must works like browser will in production env. Either use proper
HTTP cache headers with your request or disable cache. I decided not take any
action on this.
Original comment by jarro...@gmail.com
on 16 May 2013 at 5:57
A tip for anyone reading this, The rest client is working fine. If you want to
make sure Chrome is always fetching data from server disable Chromes cache in
the Developer Toolbar instead. (Usually) F12 -> Settings (in the lower right
corner) (to bring it up on a mac look in the menus instead something like
<apple key>+<shift>+I)
Original comment by polyz...@gmail.com
on 13 Sep 2013 at 5:35
Original issue reported on code.google.com by
daniele....@gmail.com
on 16 May 2013 at 4:25