Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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
 
Don't listen to Steve. Just read this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!