import time

def main(request, response):
    # no-cache itself to ensure the user agent finds a new version for each update.
    headers = [('Cache-Control', 'no-cache, must-revalidate'),
               ('Pragma', 'no-cache')]

    # Set a normal mimetype.
    content_type = 'application/javascript'

    headers.append(('Content-Type', content_type))
    # Return a different script for each access.
    return headers, '// %s' % (time.time())

