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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 40
Registered: ‎07-22-2012
My Device: bb10
My Carrier: china mobile
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

Developer
Posts: 82
Registered: ‎12-17-2012
My Device: Bold 9900, PlayBook, DevAlphaC, Z10LE, Passport, Priv
My Carrier: o2

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

disable caching in your browser?

Developer
Posts: 23
Registered: ‎01-05-2013
My Device: 9800
My Carrier: IDEA

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
Highlighted
Developer
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)

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