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

Not caching JS files #2

Open
Vineeth-Mohan opened this issue Dec 29, 2017 · 1 comment
Open

Not caching JS files #2

Vineeth-Mohan opened this issue Dec 29, 2017 · 1 comment

Comments

@Vineeth-Mohan
Copy link

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 ?

@fgrehm
Copy link
Owner

fgrehm commented Jun 12, 2018

Sorry but I have no idea what's going on :-(

As a matter of fact, I no longer use this project and for now I'm archiving it. Thanks for your interest on it though 🍻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants