Owing to Microsoft IE will cache JavaScript, CSS files, so it may not recognize when we update JavaScript or CSS files.
We need to clear browser cache every time, when we update JavaScript or CSS files.
Solution
Windows provides command line to clear IE cache
- All : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
- History : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
- Cookies : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
- Temp Internet Files : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
- Form Data : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
- Passwords : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
We need to clear cookies and temp internet files, so we copy the two commands into text file, and save as a bat file. Then move to C:\
And create a shortcut on your desktop.
As you need to clear browser cache, just click the batch file. It will clear cookies and temp internet files automatically.
No comments:
Post a Comment