Want to download the client side .cache.html GWT application

I want to download a client-side GWT application .cache.html file (browser)

but now, when I download the application to the browser every time, the .cache.html file is downloaded from the server

I don’t want it to load on every request because it is too heavy

Please offer me a solution

thank

+3
source share
3 answers

The GWT documentation includes examples of cache settings for .htaccess on Apache .

<Files *.nocache.*>
  ExpiresDefault "access"
</Files>

<Files *.cache.*>
        ExpiresDefault "now plus 1 year"
</Files>
+2
source

, . "" .

+1

, apache, tomcat. .

+1

Source: https://habr.com/ru/post/1752416/


All Articles