Jump to content
We've recently updated our Privacy Statement, available here ×

upendra.gupta

Members
  • Posts

    1
  • Joined

  • Last visited

upendra.gupta's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I am not good in English. I want to implement the browser cache for all static content of my project built on jsp/servlet and hosted on tomcat 7, it took more than 10 days and still struggling with a issue to resolved. My Issue is: I have implemented browser cache in my project and it is working fine on local machine or staging/production server when calling with localhost or ipaddress:8080/projname. But when requesting through domain url (www.example.com) cache is not working for any content placed inside css, js, images directory that is placed inside root (WebContent). It worked only for those static content that are directaly placed inside root directory (WebContent / WEB-INF). Please help me to identify the issue and what I have to implement else to resolve this. Here I have tried both code on the server: Setting up a cache filter in Tomcat or JBoss for static files Enabling the cache filter in Tomcat 7 Thank you :)
×
×
  • Create New...