Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
arachide
Posts: 40
Registered: ‎07-22-2012
My Device: bb10
Accepted Solution

changed html/js code but do not refresh immediately

[ Edited ]

I used chrome/ripple emulator.

I found if I change the html/js code, even I

1.clicked web browser reload button

or

2.goback previous page and enter current page again

 

the app display does not change immdiately.

Is there any switch to make the display change immediately?

 

Your comment welcome

Please use plain text.
Developer
jplust
Posts: 40
Registered: ‎12-17-2012
My Device: Bold 9900, PlayBook, DevAlphaC, Z10LE

Re: changed html/js code but do not refresh immediately

disable caching in your browser?

Please use plain text.
Developer
kpbird
Posts: 23
Registered: ‎01-05-2013
My Device: 9800

Re: changed html/js code but do not refresh immediately

browser cache many data when you constantly refreshing content,

I generally use two browser

1. Chrome standard version for browsing and everything
2. Chrome Canary browser which is specially available for the development, In Chrome Canary browser you can clear or disable caching,

Link to download chrome canary version
https://www.google.com/intl/en/chrome/browser/canary.html
Please use plain text.
Developer
biggerCC
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha

Re: changed html/js code but do not refresh immediately

What's really easy (if you want to stick to one browser - like me):

 

  1. Go to Chrome Developer Tools
  2. Open Settings (the small cog in the lower right corner)
  3. In the "General" tab set the "Disable cache" checkbox

It works like a charm for me.

- - -
My approved apps @ App World
Please use plain text.