Monday, July 27, 2015

CF11 is setting cache-control and expires headers

We have received few bugs and customer cases where CF11 is adding cache-control and expire headers as part of the response. Thereby causing few issues to the existing code.

We have investigated this issue and found that this issue is happening only when the server is installed using development profile.  And we found that in development profile we are enabling some settings on the server which will he helpful when setting environment for development purpose. The one setting which is causing this issue is Remote Inspection. Remote inspection helps in debugging & inspecting the mobile applications generated by coldfusion.


It is recommended to use Production profile or Production secure profile when installing CF for production environments. In case of production profile this setting is not enabled and its respective web.xml filters are disabled. But still in development environment some might be running some regression tests and this feature might be causing the test cases to fail.

Enabling this feature is includes cache-control headers in each and every CF response. This issue needs to be fixed but for now one can disable this feature in their development environment by unchecking the Allow Remote Inspection feature. The setting can be found at Debugging & Logging -> Remote Inspection  in CF admin. Optionally one can even disable this feature  in web.xml by commenting out the remote inspection j2ee filter. When someone again accidentally changes this setting does not make it effective when it commented out in web.xml.



Thanks,
Pavan Kumar.

38 comments :

  1. I am not sure the place you are getting your information, however good topic.I needs to spend some time studying more or understanding more.Thank you for wonderful information I was in search of this info for my mission.

    HR Consultancy in Chennai
    Recruitment Consultancy in Chennai
    Manpower Consultancy in Chennai

    ReplyDelete
  2. It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.

    Digital Marketing Company in Chennai

    ReplyDelete
  3. Great post!! This can be one particular of the most useful blogs We’ve ever arrive across on this subject. Basically Wonderful. I am also a specialist in this topic so I can understand your hard work.
    Office Interior Designers in Coimbatore
    Office Interior Designers in Bangalore
    Office Interior Designers in Hyderabad

    ReplyDelete
  4. you are posting a good information for people and keep maintain and give more update too.
    seo company in india

    ReplyDelete
  5. A nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us. I will follow all of them.
    Architectural Firms in Chennai
    Architects in Chennai

    ReplyDelete
  6. It’s the best time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I want to suggest you few interesting things or suggestions.You can write next articles referring to this article. I desire to read even more things about it..
    Delivery service singapore
    Singapore delivery service
    24 hour delivery singapore

    ReplyDelete
  7. I’ve been browsing on-line greater than three hours today, but I never discovered any attention-grabbing article like yours. It is

    beautiful worth sufficient for me. Personally, if all webmasters and bloggers made good content material as you did, the net will

    be a lot more helpful than ever before.
    AWS Training in Chennai

    ReplyDelete
  8. Just read your website. Good one. I liked it. Keep going. you are a best writer your site is very useful and informative thanks for sharing!
    Herbal Shampoo
    Dandruff Treatment
    Antifungal Cream
    Vitiligo Medicines

    ReplyDelete
  9. These ways are very simple and very much useful, as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.

    Eczema Treatment
    Psoriasis Oil
    Hyperpigmentation Treatment
    Herbal Tonic

    ReplyDelete
  10. I simply want to tell you that I’m all new to blogs and truly liked you’re blog site. Very likely I’m likely to bookmark your site .You surely come with remarkable articles. Cheers for sharing your website page.
    Oil and gas ERP
    Human resources management software
    CCTV Camera Dealers in Chennai
    CCTV Camera Installation in Chennai
    RFID Solutions

    ReplyDelete
  11. Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  12. The blog is conveys a useful information to viewere. This attached was nice.

    Selenium Training in Chennai

    ReplyDelete
  13. Great and really helpful article! Adding to the conversation, providing more information, or expressing a new point of view...Nice information and updates. Really i like it and everyday am visiting your site.
    Website Design and Development Services in Bangalore
    ECommerce Web Design Company in India

    ReplyDelete
  14. Content is very clear and easily explained it is very interesting aswell. I hope you post again soon.

    Selenium Training in Chennai

    ReplyDelete
  15. This information is impressive; I am inspired with your post writing style.Its a wonderful post and very helpful, thanks for all this information.
    SAP HR Training in Chennai
    SAP SD Training in Chennai

    ReplyDelete
  16. Its really an Excellent post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog. Thanks for sharing....

    OFFERS IN CHENNAI

    ReplyDelete
  17. Thank you Pavan,

    Turning off "remote inspection" fixed the problem I have been having on and off for several years.

    On my development laptop where I run CF 11, if I used chrome or firefox, and went back one page where there had been some form data, I would get get an error warning saying the page had to be resubmitted to the server. When I did that, the form data would disappear.


    This was always confusing because on my production server I would not see this. That server runs CF9.


    But I was always afraid this would happen to my customers on the production server.

    thx

    Michael

    ReplyDelete
  18. wow really superb you had posted one nice information through this. Definitely it will be useful for many people. So please keep update like this.

    Logistics Software
    Fleet Management Software
    ERP Software Companies

    ReplyDelete
  19. This is a very interesting web page and I have enjoyed reading many of the articles and posts contained on the website, keep up the good work and hope to read some more interesting content in the future.
    Journal Of Materials Science
    International Journal Of Scientific Research
    International Journal Of Current Research
    International Journal Of Research
    International Journal

    ReplyDelete
  20. Thanks for the informative article.This is one of the best resources I have found in quite some time.Nicely written and great info.I really cannot thank you enough for sharing.

    Herbalife in Chennai
    Subamwellness in Chennai
    Weight Loss in Chennai
    Weight Gain in Chennai

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. Your site is amazing and your blogs are informative and knlowledgeble to my websites.This is one of the best tips in my life.I have in quite some time.Nicely written and great info.Thanks to share the more informations.

    Seo Experts
    Seo Company
    Web Designing Company
    Digital Marketing
    Web Development Company
    Apps Development

    ReplyDelete
  23. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

    rpa training in Chennai | rpa training in pune

    rpa online training | rpa training in bangalore

    ReplyDelete
  24. Robotic Process Automation (RPA) is one of the most exciting developments in Business Process Management (BPM) in recent history. Some industry experts believe it may be even more transformational than cloud computing transformational than cloud Automationminds team. (RPA)Automationminds lets you program in (RPA),
    Robotic Process Automation course bluePrism

    ReplyDelete
  25. SQream Technologies provides you with a state of the art software which combines modern GPU technology (Graphic Processing Units) with the best practices in today’s Big Data platforms, providing up to 100x faster insights from data.
    Bigdata Training in Chennai OMR

    ReplyDelete
  26. SQream Technologies provides you with a state of the art software which combines modern GPU technology (Graphic Processing Units) with the best practices in today’s Big Data platforms, providing up to 100x faster insights from data.
    Bigdata Training in Chennai OMR

    ReplyDelete
  27. There will always be winners and losers, and I think many of these probably do have quite a diverse range of material, with a common thread running through them. This is how I think of Oracle Code, a diverse collection of subjects loosely woven together by an Oracle thread.
    Oracle SQL/PLSQL course

    ReplyDelete
  28. Our expertise and craftsmanship is well fame and we have an extensive variety of involvement in taking care of the necessities of customers all things considered, either from office or to home. By always procuring the notoriety from our clients we are today viewed as the home interior decorators in coimbatore

    ReplyDelete
  29. I appreciate that you produced this wonderful article to help us get more knowledge about this topic. I know, it is not an easy task to write such a big article in one day, I've tried that and I've failed. But, here you are, trying the big task and finishing it off and getting good comments and ratings. That is one hell of a job done!
    Data Science training in Chennai | Data science training in bangalore
    Data science training in pune| Data science online training
    Pyton training in Kalyan nagar

    ReplyDelete
  30. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
    java training in chennai | java training in bangalore


    java training in tambaram | java training in velachery

    ReplyDelete
  31. Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read  about their market situation nowadays.
    python training in pune
    python training institute in chennai
    python training in Bangalore

    ReplyDelete
  32. A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article. I am learning a lot from you.

    rpa training in electronic-city | rpa training in btm | rpa training in marathahalli | rpa training in pune

    ReplyDelete
  33. This is very good content you share on this blog. it's very informative and provide me future related information.
    Best Devops Training in pune
    Devops Training in Chennai

    ReplyDelete