William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

A easy way to refresh browser

A easy way to refresh browser

Sometimes when debugging web codes, we need to frequently access same URL, like:
The browser normally uses its cache instead of reloading new URL, so probably *NOT* refresh your CSS/JS effects. So you have to clear browser cache to force the reloading; or hold on Alt-key which sometimes may not work.

Here I introduce a simple way to refresh URL: adding a dummy parameter followed by URL. This way will force browser to reload URL instead of using cache.

# first time:
# second time:
# third time:

Every time only if the parameter t is changed, the URL will reload.
It is much better than clear browser caches, which will delete all your data which you don’t want to at all.


One response to “A easy way to refresh browser

  1. Appliance repair Orange County ca 07/14/2012 at 6:22 am

    Hello there, just discovered williamjxj.wordpress.com on Yahoo, and found that it’s really awesome. I’m gonna watch out for brussels. I will appreciate if you keep writing about this subject in future. Lots of people will benefit from your writing. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: