Prevent Your CSS and JavaScript Files From Being Cached

Today’s post is about Preventing Css and Js Files being Cached on client Machine, we often change our css & js files to enhance our websites, due to browser cache, new changes will not reflect on client system to void this situations you can use the following method, however this method is not preferred in production environment due to performance issues.

Prevent Your CSS Files From Being Cached

Prevent Your Js Files From Being Cached

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 vote
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Colorless Green
Colorless Green
4 years ago

This doesn’t pass validation.

arjun
4 years ago

did not get you, which validation?

DMCA.com Protection Status
2
0
Would love your thoughts, please comment.x
()
x