| Author |
Webutilities
|
Robert Aryan
Greenhorn
Joined: May 08, 2009
Posts: 21
|
|
|
Using google compression(webutilities) for js and css.But js and css not available on loadbalancer. Any Idea???
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
|
Question makes no sense. Please add more detail.
|
 |
Robert Aryan
Greenhorn
Joined: May 08, 2009
Posts: 21
|
|
|
I am using google compression(Webutilities) and yuicompressor for compressing my js and css files.when i try to access my site from a external IP i am not getting js and css and when i excess the site from internal IP(VPN) css and js are coming. Any solution for this???
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
|
Does it really have anything to do with the compression or are your URLs just poorly formed?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
|
"rahuljain rahuljain", please check your private messages for an important administrative matter. Failure to do so may result in the removal of your account.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
Using google compression(webutilities) for js and css
You are compressing them every time they are called? Most people do it at build time.
Have you looked at the traffic with Fiddler and see what the http response is back from the server? Have you looked at your error logs?
Eric
|
 |
Robert Aryan
Greenhorn
Joined: May 08, 2009
Posts: 21
|
|
Eric Pascarello wrote:
Using google compression(webutilities) for js and css
You are compressing them every time they are called? Most people do it at build time.
Have you looked at the traffic with Fiddler and see what the http response is back from the server? Have you looked at your error logs?
Eric
I am compressing it on build time.But When I access my site from external ip ,js and css not found but when i chk it from internal ip(vpn) its working.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
Have you debugged the http calls yet like I suggested? What is the http status code?
Eric
|
 |
Robert Aryan
Greenhorn
Joined: May 08, 2009
Posts: 21
|
|
|
Http Code is 404 not found
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
Sounds like the problem is on the server/firewall setup and not anything to do with JavaScript.
Eric
|
 |
Robert Aryan
Greenhorn
Joined: May 08, 2009
Posts: 21
|
|
|
But if i remove the compression code then the site run from external ip and all js,css fille not give error code 404.Any reason for that??
|
 |
 |
|
|
subject: Webutilities
|
|
|