Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8574379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:27:41+00:00 2026-06-11T19:27:41+00:00

I am trying to deploy a GWT client-only app on a custom web server.

  • 0

I am trying to deploy a GWT client-only app on a custom web server. I am using the GWT pre-compress linker like this in my .gwt.xml file:

<inherits name="com.google.gwt.precompress.Precompress"/>

<set-configuration-property name="precompress.leave.originals" value="false" />

<add-linker name="xsiframe" />

And in my html file, I load the javascript with references to nocache.js.gz:

<script type="text/javascript" src="app/app.nocache.js.gz"></script>

The compiler generates compressed javascript files as expected. However, when I run the app, the app is requesting *.cache.js files from the web server, and not *.cache.js.gz files as I was expecting.

I am using a custom web server that does not handle compression on-the-fly, so I am wondering if there is a way to configure GWT compiler to generate code that requests *.cache.js.gz files instead of *.cache.js files? I can’t seem to find any documentation for this, but if I’ve missed something in the docs, I’d appreciate a pointer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:27:43+00:00Added an answer on June 11, 2026 at 7:27 pm

    The PrecompressLinker will generate the .gz files.
    However not all browsers support precompressed resources and thus they won’t be loaded by default.

    You have to configure your web-server/backend server so that it check if there precompressed resources available and if the client supports compression and then rewrites the request to retrieve the *.gz files instead of the non compressed ones.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm trying to deploy an MVC 3 app to a web server. If
I am using Jetty for the first time to deploy a GWT web app
I'm trying to deploy my app to the web server via capistrano. When I
I am trying to deploy my app to Heroku however I rely on using
I am trying to deploy to a remote server and this is the error
I'm trying to implement an ejb-call by using JNDI-naming. Setup: JBoss-6.1.0.Final ear-deploy: gwt.war ejb.jar
I am trying to deploy a rails app on webbyapp. I am using sunspot
I'm trying to deploy my mvc app into my large web application. I have
I have been trying to deploy a Rail 3.1.1 app on CentOS 6 This
I'm trying to deploy an web application on tomcat server fronted with Nginx. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.