Configuring Apache Tiles to Avoid Caching During Development
When you want to use Apache Tiles, you will find that your tiles are cached and are not refershed when you reload the page in web browser.
This is a non-issue in production environment because once your webapp is deployed in production you never change your Apache Tiles templates and pages. However, in a development environment this is cumbersome since you will have to redeploy your webapp each time you make a change in your templates.
I faced a similar problem recently and the I found out the I could use the 'useMutableTilesContainer' property in TilesConfigurer class and the 'cache' property in TilesViewResolver class.
You configuration should look something like this:
<property name="definitions">
<list>
<value>/WEB-INF/path-to-your/tiles-definition.xml</value>
</list>
</property>
<property name="useMutableTilesContainer" value="true" />
</bean>
<bean id="viewResolver" class="org.springframework.web.servlet.view.tiles3.TilesViewResolver">
<property name="viewClass">
<value>
org.springframework.web.servlet.view.tiles3.TilesView
</value>
</property>
<property name="cache" value="false" />
</bean>
I hope that this helps somebody facing caching problem in Apache Tiles during development.
Basically you have to set 'useMutableTilesContainer' to true and the 'cache' property to false.
The 'useMutableTilesContainer' property is in TilesConfigurer class and the 'cache' property is in TilesViewResolver class.
Happy Coding!
I have to appreciate you for your great work which you had done in your blog.i want you to add more like this.
ReplyDeleteJAVA Training in Chennai
JAVA Training in Tnagar
Selenium Training in Chennai
Digital Marketing Course in Chennai
Python Training in Chennai
Big data training in chennai
JAVA Training in Chennai
Java Training in Velachery
The blog is good.Hope you continue to share more of your ideas.I will definitely love to read.
ReplyDeleteLoadRunner Training in Chennai
hp loadrunner training
Loadrunner Training in OMR
QTP Training in Chennai
QTP Training Institutes in Chennai
clinical sas training in chennai
SAS Course in Chennai
LoadRunner Training in Chennai
I would definitely thank the admin of this blog for sharing this information with us. Waiting for more updates from this blog admin.
ReplyDeleteweb designing training in chennai
web designing course
ccna Training in Chennai
PHP Training in Chennai
ReactJS Training in Chennai
Web Designing Course in chennai
Web designing training in chennai
I am really interested to continue reading your blog. You have shared valid info. Waiting for more updates from you.
ReplyDeleteIELTS Coaching in Chennai
IELTS Coaching Centre in Chennai
IELTS Training in Chennai
IELTS Chennai
Best IELTS Coaching in Chennai
I usually gather information from the blog which you posted.Thanks for sharing your thoughts about the concept which we know much better.
ReplyDeleteWeb Designing Training in OMR
Web Designing Training in Porur
Web designing Training in T Nagar
Web Designing Training in Chennai
Web Designing Course in chennai
AngularJS Training in T Nagar
AngularJS Training in OMR
AngularJS Training in Velachery
I read awesome post after a long time.I am very satisfied with your way of writing.Expect the next post in the upcoming days.
ReplyDeleteAngularJS Training in OMR
Web designing Training in Anna Nagar
AngularJS Training in Tambaram
Web Designing Training in OMR
AngularJS Training in Porur
Web Designing Training in Porur
AngularJS Training in Velachery
Web designing Training in T Nagar
Wonderful article! I am having lots of information, after seeing your post and Definitely, I will share your post with my friends. Keep sharing and well done.
ReplyDeleteOracle DBA Training in Chennai
Oracle DBA Course in Chennai
Spark Training in Chennai
Oracle Training in Chennai
Social Media Marketing Courses in Chennai
Pega Training in Chennai
Linux Training in Chennai
Primavera Training in Chennai
Tableau Training in Chennai
Oracle DBA Training Fess in Chennai
We read your blog , share most useful information in blog . Web Design
ReplyDeleteI am very thankful for the author who shared the informative blog. This helps the first home buyers in a better way to choose the appropriate location.
ReplyDeleteBuilders in Chennai
Properties in Chennai
I am thankful to this blog giving unique and helpful knowledge about this topic. Software Outsourcing Services
ReplyDeleteIt’s really a Great Post .Looking for Some More Stuff
ReplyDeletebest aviation academy in Chennai
cabin crew training Chennai
airline academy in Chennai
airport ground staff training courses in Chennai
Aviation Academy in Chennai
air hostess training in Chennai
airport management courses in Chennai
ground staff training in Chennai
These are really amazing and valuable websites you have share with us. Thanks for the informative post.
ReplyDeleteWordPress development company in Chennai
Nah dengan memperhatikan beberapa hal diatas, maka ini akan menjadi salah satu cara dan jalan terbaik untuk anda bisa mendapatkan keuntungan
ReplyDeleteasikqq
http://dewaqqq.club/
http://sumoqq.today/
interqq
pionpoker
bandar ceme
freebet tanpa deposit
paito warna terlengkap
syair sgp
Great blog ! I am impressed with suggestions of author. School ERP
ReplyDeletetempat terbaik poker online
ReplyDeleteGreat blog, I was searching this for a while. Do post more like this.
ReplyDeleteAngularJS Training in Chennai
Angular 4 Training in Chennai
Angular 5 Training in Chennai
paito warna china
ReplyDeletedata sydney
datahk
syair sydney
syairsgp
datasgp
paito warna
http://warungsgp.com/
live hk 6d
live sydney
Many thanks for share your blog site here. Rank Checker Online
ReplyDeleteThis is a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it
ReplyDeletewebsite designing Service
Excellent and very cool idea and great content of different kinds of the valuable information's.
ReplyDeleteTOEFL Coaching in Chennai
TOEFL Coaching Classes in Chennai
Blockchain Training in Chennai
German Courses in Chennai
French Language Classes in Chennai
Xamarin Training in Chennai
spanish courses in chennai
content writing course in chennai
TOEFL Coaching in Porur
TOEFL Coaching in Adyar
Popular Fashion Blogs in Surat
ReplyDeleteFashion Blogger in Surat
Surat Blogger
Indian Fashion Blogger
Outstanding in addition to effective suggestion by the author of this blog are genuinely sensible to me. basement remodeling contractors
ReplyDeleteThanks for sharing the blog on tiles. Get the Kitchen Flooring tiles and many other at Cancork.com who is the top cork flooring store in Canada.
ReplyDeletekeep up the good work. this is an Assam post. this to helpful, i have reading here all post. i am impressed. thank you. this is our digital marketing training center. This is an online certificate course
ReplyDeletedigital marketing training in bangalore | https://www.excelr.com/digital-marketing-training-in-bangalore
Nice informative blog, it shares more intresting information. This blog is useful to me.
ReplyDeletePHP Training in Bangalore
PHP Training in Chennai
PHP Course in Bangalore
PHP Training Institute in Bangalore
PHP Classes in Bangalore
AWS Training in Bangalore
Data Science Courses in Bangalore
DevOps Training in Bangalore
DOT NET Training in Bangalore
Data Science Course in Chennai
Thanks for giving excellent Message. Waiting for the next article
ReplyDeleteDOT NET Training in Chennai
c# training in chennai
dot net classes in chennai
mvc training in chennai
dot net training in T nagar
Html5 Training in Chennai
Spring Training in Chennai
Struts Training in Chennai
Wordpress Training in Chennai
SAS Training in Chennai
This comment has been removed by the author.
ReplyDelete
ReplyDeleteReally awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog.
Software Testing Training in Chennai
Software Testing Training in Bangalore
Software Testing Course in Coimbatore
Software Testing Training in Madurai
Software Testing Training Institute in Bangalore
Software Testing Course in Bangalore
Testing Course in Bangalore
Ethical hacking course in bangalore
Thanks for this blog are more informative contents step by step. I here attached my site would you see this blog.
ReplyDelete7 tips to start a career in digital marketing
“Digital marketing is the marketing of product or service using digital technologies, mainly on the Internet, but also including mobile phones, display advertising, and any other digital medium”. This is the definition that you would get when you search for the term “Digital marketing” in google. Let’s give out a simpler explanation by saying, “the form of marketing, using the internet and technologies like phones, computer etc”.
we have offered to the advanced syllabus course digital marketing for available join now.
more details click the link.
https://www.webdschool.com/digital-marketing-course-in-chennai.html
Amazing article useful information.
ReplyDeleteWeb designing trends in 2020
When we look into the trends, everything which is ruling today’s world was once a start up and slowly begun getting into. But Now they have literally transformed our lives on a tremendous note. To name a few, Facebook, Whats App, Twitter can be a promising proof for such a transformation and have a true impact on the digital world.
we have offered to the advanced syllabus course web design and development for available join now.
more details click the link.
https://www.webdschool.com/web-development-course-in-chennai.html
I found so many interesting stuff in your blog. as we provide Discounted Floor Tiles Supply Australia at affordable prices. for more info visit our website.
ReplyDeleteI am just want to say thanks for sharing the informative blog. Browse a wide range of Floating Cork Flooring at Cancork Floor INC.
ReplyDeleteReally nice post. Thank you for sharing amazing information.
ReplyDeleteDigital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery
I want to say thanks to the author for this article. Get our high-quality End of Lease Cleaning Near me today by visiting our website.
ReplyDeleteThe blog is really nice and interesting to read about various ways. we provide Residential floor installation Sacramento Ca at affordable prices. for more info visit our website.
ReplyDeleteYou have done such a fabulous job by publishing such informative post about Apache Tiles. Through this post you have made my day by publishing it. If you are looking for Multipurpose Floor Tiles, then you can get at pvcfloortile.
ReplyDeleteIncredible articles and awesome, Your blog furnished us with important data to work with. Each tip of your post are amazing. we provide Discounted Floor Tiles Supply Australia at cheap cost. to know more visit our website.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks for sharing the best information and suggestions, it is very nice and very useful to us. I appreciate the work that you have shared in this post. Keep sharing these types of articles here. interlock fixing in Oman
ReplyDeleteI read your post and got it quite informative. I couldn't find any knowledge on this matter prior to. I would like to thanks for sharing this article here.White block tiles in Oman
ReplyDeleteweb design, I must admit that your post is really interesting. I have spent a lot of my spare time reading your content. Thank you a lot! and if you need then contact us!
ReplyDelete