[Development Simply Put] How To Avoid Problems Caused By Clients' Browser Cached Resource Files (JS, CSS, ....) With Every New Build
http://developmentsimplyput.blogspot.com/2013/12/how-to-avoid-problems-caused-by-clients.html
Browsers like IE, Firefox, Chrome and others have their own way to decide if a file should be cached or not. If a file link (URL) is requested more than a certain number of times the browser decides to cache this file to avoid repeated requests and their relevant responses. So, after a file is cached by the browser and a new request is performed for this file, the browser responses with the cached version of the file instead of retrieving the file for the server. But, what if you already applied some changes on one of the javascript files and then shipped a new build to the client and they started getting errors because the system users' browsers are still using the cached version of the file not the new one you sent? If you ever faced such situation or even curious to know how to manage such situation, you can read this article.
4. [Development Simply Put] How To Avoid
Problems Caused By Clients' Browser Cached
Resource Files (JS, CSS, ....) With Every New
Build
Browsers like IE, Firefox, Chrome and others have their own way to decide if a file should be
cached or not. If a file link (URL) is requested more than a certain number of times the
browser decides to cache this file to avoid repeated requests and their relevant responses.
So, after a file is cached by the browser and a new request is performed for this file, the
browser responses with the cached version of the file instead of retrieving the file for the
server. But, what if you already applied some changes on one of the javascript files and then
shipped a new build to the client and they started getting errors because the system users'
browsers are still using the cached version of the file not the new one you sent? If you ever
faced such situation or even curious to know how to manage such situation, you can read
this article.
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
5.
6. Why?
I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career
days and day after day I got more confident that it's all about sharing not the title you have. I believe
that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes
out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills
and I found that the best way to learn is to try to teach what you already know. This makes you think
of the best simplest way to explain complex logic which makes you spot some points may be even
yourself didn't recognize in the first time.
The greatest thing in the human mind is that it carries out too complicated operations and finally
presents it into a simple form, so why do we always try to re-complicate things? This is what
encouraged me to start my blog -Development Simply Put
(http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT
development and share my humble knowledge in this field.
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
7. Links
Blog Link: http://developmentsimplyput.blogspot.com
Facebook Page: https://www.facebook.com/DevelopmentSimplyPut
Google+ Page: https://plus.google.com/115238148611061640682
LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295
RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss
Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default
Android RSS App: http://www.appsgeyser.com/336849
Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356
Random Post: http://developmentsimplyput.blogspot.com/?random
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
8. Want To Offer Help?
1. Comment & provide feedback (liked, hated, good, bad, missing, ......)
2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-PutBlog-Survey)
3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356)
4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss)
5. Share blog links
6. Invite friends whom you think will be interested
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
9. About Me
My Resume:
LinkedIn: http://www.linkedin.com/in/atarekhasan
Yatedo: http://www.yatedo.com/atarekhasan
Zerply: http://zerply.com/ahmed-tarek-hasan/public
Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan
My Social Accounts:
Facebook: https://www.facebook.com/ahmed.t.hasan
Google+: https://plus.google.com/u/0/117461717174836938716
Twitter: https://twitter.com/AhmedTarekHasa1
StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes
Pinterest: http://pinterest.com/ahmedtarekhasan
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein