Allow loading without timestamps
See original GitHub issueCurrently every <script src...> or import … is loaded with an timestamp. I am trying to write an offline application, which should run in mobile, but this “feature” block to load my app from cache. Is it possible to disable adding timestamp for loaded .py files? Loaded file urls:
https://hostname/main.py?1576766629012
https://hostname/module.py?v=1576766629155
It it possible to disable this behaviour or do we need another option for brython() function?
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Disable Laravel's Eloquent timestamps - php - Stack Overflow
10 Answers 10 · 2. This worked for me because setting $timestamps = false caused created_at->diffForHumans() method to stop working since it's no...
Read more >incremental load with no date or timestamp field
Hello, I have a few tables, which do not have the date/timestamp field to show when was the row modified. the tables are...
Read more >YouTube Chapters : Timestamps Not Working (HOW TO FIX)
YouTube has started to make the search page more visual by adding video chapters so viewers can get a better glimpse of what's...
Read more >How To: Display date fields in labels without timestamps using ...
Click the Verify button to validate the expression. Click Apply to run the script. The image below shows labels displaying the date field ......
Read more >Commit timestamps in Google Standard SQL-dialect databases
This topic describes how to write a commit timestamp for each insert and update operation that you perform with Spanner.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the commit referenced above I have added an option “cache” to the
brython()
function, eg :This removes the query string in the Ajax calls that load external scripts (
<script type="text/python" src="script.py">
) and those that import modules.Does it solve the issue ?
brython --modules runs on my source directory 20-30 seconds due to files, which are not needed in my game, but present in this directory. Currently I need these files here, but don’t want to be scanned using brython --modules.
I need to run brython --modules to create brython_modules.js only with browser.timer, nothing else. For this currently I have this content in my “js” directory:
from browser import timer
Runnning brython --modules in this directory creates brython_modules.js as I need them.