Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Not caching JS files #2

@Vineeth-Mohan

Description

@Vineeth-Mohan

Thanks for the docker , it really helped.
But then its not caching JS file or may be certain files due to some reason.
For eg:

curl --proxy 'localhost:3128'  https://code.jquery.com/jquery-3.2.1.slim.js --insecure  -v  1>/dev/null

{ [5 bytes data]
< HTTP/1.1 200 OK
< Date: Fri, 29 Dec 2017 21:21:16 GMT
< Content-Type: application/javascript; charset=utf-8
< Content-Length: 215256
< Last-Modified: Mon, 20 Mar 2017 19:01:15 GMT
< Vary: Accept-Encoding
< ETag: "58d026fb-348d8"
< Expires: Thu, 31 Dec 2037 23:55:55 GMT
< Cache-Control: max-age=315360000
< Cache-Control: public
< Access-Control-Allow-Origin: *
< Server: NetDNA-cache/2.2
< X-Cache: HIT
< Accept-Ranges: bytes
< X-Cache: MISS from 87b36b5e055e
< X-Cache-Lookup: MISS from 87b36b5e055e:3128
< Via: 1.1 87b36b5e055e (squid/3.3.8)
< Connection: keep-alive
< 
{ [5 bytes data]

I believe the first X-Cache is coming from the CDN server , but then those coming from my squid proxy is always a MISS. Could you shed light on why this is happening ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions