Tuesday, March 28, 2017

Re: Caching of Static Files in GWT

Just use a Filter in your web.xml that adds the needed HTTP response headers.

On Tue, Mar 28, 2017 at 1:09 PM abdul <mohammedsameen.cse@gmail.com> wrote:
then how to configure in Glassfish? can you please tell me


On Tuesday, March 28, 2017 at 2:53:16 PM UTC+5:30, abdul wrote:
Hi,
 Developed application using GWT which contains lot of static files(`javascript,css,images`) which i want to cache for `30` days. I read lot of blogs but didn't get any clue.

 *- How to cache static files?
 - What are the possible option to achieve caching (do i need to configure in server or GWT application, here i am using glassfish/payara server for deployment)*

Any idea?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment