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

  • SEARCH
  • Home
  • 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 3441360
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:32:37+00:00 2026-05-18T08:32:37+00:00

How can I clear the cache in gwt ? or is there any way

  • 0

How can I clear the cache in gwt?

or is there any way that prevent browser to keep the cache in gwt?

  • 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-05-18T08:32:37+00:00Added an answer on May 18, 2026 at 8:32 am

    When you deploy a GWT-application it’s important to avoid proxies and browsers to cache the .nocache.js-files generated by GWT. One solution is to implement a servlet filter that adds the necessary HTTP-headers that control the caching behaviour.

    Here’s such a filter: http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html

    The headers in that example are:

    Date: Wed, 24 Nov 2010 20:32:43 GMT
    Expires: Wed, 01 Nov 2000 00:00:00 GMT
    Pragma: no-cache
    Cache-Control: no-cache, no-store, must-revalidate
    

    Date should be set to the time of the request.

    Expires is best set to sometime in the past, this forces everyone to consider the content already stale.

    Pragma is a tag that has been superseded by Cache-Control, but it doesn’t hurt to have it.

    Cache-Control no-cache means a browser or proxy must revalidate a cached copy before releasing it to the client. no-store means no one is ever keeping a cached copy (which makes no-cache redundant). must-revalidate says the browser/proxy must obey freshness information and revalidate, also redundant with no-store.

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

Sidebar

Related Questions

Can I clear browser cache of the page when I'm leaving it. // Clear
Is there a way to globally trap MemoryError exceptions so that a library can
I find it annoying that I can't clear a list. In this example: a
How can I clear a page cache. I tried impelemnting cache but switched it
I'm just wondering if there is a way to clear memcache using wildcards for
Stored procedures are compiled on first use. There are options to clear cache: DBCC
Can anyone provide a clear explanation / example of what these functions do, and
Can anybody give a clear explanation of how variable assignment really works in Makefiles.
How can I set, clear, and toggle a bit?
I can read the MySQL documentation and it's pretty clear. But, how does one

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.