Comments (5)
I give up... Sometimes Opera breaks on XMLHttpRequest and broken response is cached. Refreshing, reloading, ctrl+reloading not work... Only option is to clear cache and be lucky on next reload.
from autopatchwork-mod.
Is 82374ba17277fe424c1182c2c728ba6e76b52dfc changing something?
from autopatchwork-mod.
Oh my gosh... 🤦 This bug is not XHR related - it's my haste. On my gsm/edge connection (+download in background) it takes long time to download this file (more than a minute).
When I see empty page for so long - I close it. JavaScript run in page thread, so when page is closed XHR is interrupted and incomplete response saved in (session) cache. Next time file is loaded from cache and JSON throw exception... During debugging I always wait for an answer, so there is no error.
Solutions:
- restart browser (empty session cache) and next time wait longer :) or
- put some spinning animation in the middle of the page (and big "loading" warning) or
- append some random string to url to override cache (in case of error only! - don't want to always load this large file) or
- move XHR to background process (survive closed page) or
- ?
from autopatchwork-mod.
There is actually animation in place. It's just not running for initial download now. Will do when my mood will be right. :)
In general I am thinking to make extension to always keep the full DB version offline so manager load will be instant. But as my research suggest full database is 3x as big and is prone to corruption if Opera exited incorrectly. Don't know how to do it better.
By the way if aborted XHR request data is still cached this looks more like an Opera caching system bug to me so maybe it's sensible to report it.
from autopatchwork-mod.
This happens to me often. Particularly annoying for css sprites (high cpu usage). I hope new "force reload" command helps to fight this. (although it does not work for XHR)
from autopatchwork-mod.
Related Issues (15)
- Default Remote DB down HOT 1
- Please upload it to Mozilla's addons and Chrome's Webstore. HOT 1
- Doesn't work on sites with exisiting patterns using Firefox HOT 14
- Not loading in Vivaldi developer mode because of manifest errors HOT 1
- Site works in AutoPagerize but not correctly in AutoPatchWork Mod HOT 1
- toggle on off on bottom panel HOT 1
- Current page number in title HOT 1
- Bad SITEINFO rule stops further search for a matching rule. HOT 1
- Optionally preload next page HOT 2
- UserJS patches manager HOT 1
- Option to disable remote SITEINFO DB HOT 1
- Auto detect format of searchable element HOT 4
- Next page starts loading too late HOT 8
- Error Loading Extension HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopatchwork-mod.