Re: Caching and SSL

2009-10-20 Thread Andrey
I found the answers. If you use Tomcat, you can speed up your GWT app as follows: Caching: 1. Turn off "pragma: no-cache" by adding: to your Context in server.xml 2. Add "Cache-control: public" and "Expires: ~1 year" to headers by creating Filter as shown here: http://www.infoq.com/articles/gwt

Re: Caching and SSL

2009-10-15 Thread Andrey
Hello! I want to cache javascript (it is in .html files, right?). As I see now in Forefox 3.5 application loads every time and it takes a lot, as scripts are rather big. Andrey On Oct 14, 3:39 pm, Austen wrote: > I believe that the no-cache issue is only a problem for IE? > > Does this help?ht

Re: Caching and SSL

2009-10-14 Thread Austen
I believe that the no-cache issue is only a problem for IE? Does this help? http://www.symphonious.net/2007/06/19/caching-in-tomcat/ Austen On Oct 14, 11:20 am, Andrey wrote: > Hello! > > I am using Tomcat with SSL and it seems that my GWT app is not cached. > I've read some posts here but sti

Re: Caching and SSL

2009-10-14 Thread gwtfanb0y
Hello Andrey! Why do you want to cache a SSL connection? For security reasons, i would not recommend this. What exactly do you want to cache - the GWT GUI or Database-Access? Remember that the generated JavaScript is executed fully inside the Client-Browser. Regards, gwtfanb0y On 14 Okt., 12:

Caching and SSL

2009-10-14 Thread Andrey
Hello! I am using Tomcat with SSL and it seems that my GWT app is not cached. I've read some posts here but still don't have clear understanding. My questions are: 1. How can I check whether caching for my app is enabled or not? 2. Why GWT http headers contain "cache-control: no-cache" by defaul