Open GoogleCodeExporter opened 9 years ago
What's the MIME type of your javescript assets?
Original comment by nbubi...@gmail.com
on 29 Oct 2012 at 2:26
The MIME type is text/javascript according to Chrome development pannel.
Original comment by r.shishkin@gmail.com
on 29 Oct 2012 at 7:27
Is it a HTTP 200 response? Can you show me a example js URL for your problem?
Original comment by nbubi...@gmail.com
on 29 Oct 2012 at 8:24
Yes this is a valid HTTP 200 response.
Here is a path: http://www.6pm.com/karakoram/js/main.6b844c7.js
6pm has a restricted access for some geo location.
Original comment by r.shishkin@gmail.com
on 29 Oct 2012 at 2:11
Hi,
I have turned the gzip off. It seems work for me:
50 location / {
51 subs_filter_types text/javascript;
52 subs_filter "name" yaoweibin;
53
54 proxy_set_header Accept-Encoding "";
55 proxy_pass http://www.6pm.com/karakoram/js/main.6b844c7.js;
56 }
Is the javascript page compressed by force?
You can use the tools like wget to debug:
wget -d http://127.0.0.1/a.js
wget -d --header="Accept-Encoding: gzip" http://127.0.0.1/a.js
Original comment by nbubi...@gmail.com
on 30 Oct 2012 at 7:48
Yes, you are right!
The problem was due to browser cache. Probaly browser do more
agressive caching for javascript files, so ordinary reloading of page
may be not enough for full refresh.
Thank you for you kindly replies and good work with module.
Original comment by r.shishkin@gmail.com
on 5 Nov 2012 at 8:02
Original issue reported on code.google.com by
r.shishkin@gmail.com
on 28 Oct 2012 at 11:42