Skip to content

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


// output 

Prevent Your Js Files From Being Cached


// output 

0 0 votes
Article Rating
Subscribe
Notify of
guest

2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments