Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I want to set Expire header for images,css, js files

 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to set Expire header for images,css, js files. How can I do this tomcat server. Because I did this in Apache server using .htaccess. I don't know how to do this in Tomcat. But I think we can do this by Servlet Filters. Did you have any Idea about this. I so suggest me a good option.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by 'set Expire header' ??
 
Charles 'King
Ranch Hand
Posts: 56
Eclipse IDE Postgres Database Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think he's looking for this.
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do a google
Sebastian Janisch wrote:What do you mean by 'set Expire header' ??

Thanks Charles 'King&Sebastian Janisch
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic