Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webutilities

 
Robert Aryan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using google compression(webutilities) for js and css.But js and css not available on loadbalancer. Any Idea???
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question makes no sense. Please add more detail.
 
Robert Aryan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does it really have anything to do with the compression or are your URLs just poorly formed?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you debugged the http calls yet like I suggested? What is the http status code?

Eric
 
Robert Aryan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Http Code is 404 not found
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like the problem is on the server/firewall setup and not anything to do with JavaScript.

Eric
 
Robert Aryan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic