• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to prevent particular piece of code or particular http header attribute from browser cache

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am generating java script tag and javascript code in servlet and diplaying it in each jsp page. i include this in every jsp in my application
i am preparing the following javascript content and diplayin each jsp

<script type="text/javascript"> BOOM.addVar (clientId = SOME universal unique ID ) </script>

the clientid will be uniqueid it gets generated every time.

here my question is, is there any possibility the clientId will be store in browser cache or third party cache server. if yes how to prevent clientId from cache.

i don't want to prevent the whole jsp file from cache. i just want to prevent only that particular field. so that i can use advantages cache and also prevent particuler header field to be cached.


also can we prevent particular http header attribute from cache.


Thanks,
Kaleeswaran K


 
Sheriff
Posts: 67748
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, nope.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you trying to achieve by that?
 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dittmer, Its great pleasure to receive reply from you after 5 year..I have learned many thing's here in javaranch 5 year before, you were really helped me to understand what is servlet and jsp when i was beginner in java.

Thanks you so much...

back to the business..

We are generating boomerang javascript for monitoring purpose and we are generate unique clientid for each user transaction and that clientid will be send to beacon servlet.

one of our client is using akamai netscaler caching tool which cache the client id which we generate each user transaction.

That is the issue. so now my question is every time generate new unique clientid how that would be store in cache. is it possible to happen like that. if so how could we avoid prevent to store in cache.

Thanks,
Kaleeswaran K
 
Slime does not pay. Always keep your tiny ad dry.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic