Hi,
I'm using bottle to serve web pages that load javascript libraries, html and css.
It works fine most of the time. However, when I make modifications to the pages it regularly fails to reload the files.
Sometimes the caching appears to persist even when I kill Pythonista and restart.
When starting bottle I am doing so with:
bottle.TEMPLATES.clear()
run (host='localhost', port=8088, debug=True, quiet=False)
The debug code clearly shows that it is not reloading the files that I have changed.
I've tried serving the files with both static and template but it makes no difference.
I've executed the same code on my PC and it clearly picks up the modified files.
Is there a way I can stop bottle doing any sort of caching? Or is there some kind of Pythonista bug here?
My suspicion is that I have a old process of bottle running that refuses to die. I will try a hard reset of my Ipad.
I'm almost at the point of installing my own version of bottle and hacking the code to stop it from caching.
All help greatly appreciated!
Thanks