def send_my_headers(self):
    self.send_header('Cache-Control', 'no-cache, no-store, must-revalidate')
self.send_header('Pragma', 'no-cache')
Invoke Python SimpleHTTPServer from command line with no cache option