When I to a GET on http://localhost:9898/cache/swagger/swagger-ui-bundle.js 
I get the actual version of the file (having the initOAuth method), but in 
chrome Inspect I see that the request is marked as 200 OK (from memory 
cache) and old data about it is there including its old length and its old 
contents.

On Tuesday, December 5, 2017 at 10:53:47 AM UTC+2, Nicolae Marasoiu wrote:
>
> Hi,
> In my understanding how caching is supposed to work, the browser should 
> send a request to the server for the javascript file, mentioning in that 
> request what version of the file it has, in terms of timestamp, file 
> length, etag, media types and/or other ways. The server will respond with 
> either "ok, your version is ok, you can use the cached version", or "no, 
> here is the actual content of that file". In this case I am not sure if 
> chrome sends a request to the server (I could try a proxy to check this 
> indeed, or activate logs on the server side), and it just seems that it 
> takes from its own cache.
> Please help,
> Thank you,
> Nicu Marasoiu
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to