Comments (7)
Working on this.
from clerk.
True, this is annoying and Clerk should support working completely offline. I'll revisit this after #36 which switches to tailwind's play cdn and is another thing to consider for offline support.
from clerk.
f35635f implements caching of all assets used by Clerk in the browser's ServiceWorker, finally.
from clerk.
This has now been addressed in PR #113.
Before we merge this, please test commit ccae890.
You can cache assets locally, before entering a plane, with:
clojure -X nextjournal.clerk/cache-assets!
But also while using clerk, assets will be cached on first use.
from clerk.
Anyone? :)
from clerk.
Was chatting with @borkdude about resuming work on this. When we actually tried it we discovered to my surprise that Clerk does work fine when offline, as long as you previously had a notebook with the viewers you're using open. This includes KaTeX, Vega, Plotly etc which are all cached in the browser and do survive a reload. So this is a lot better than how I thought it worked.
We might want to consider bundling these deps in the jar in the future but would track that in a separate issue when the need arises.
from clerk.
Yes, I believe I was on a plane while debugging and had to do a hard refresh which put a hard stop to any development. Hard refreshes are somewhat common in moments of debugging despair. I think this is still a valid issue and it seems the solution is straightforward.
from clerk.
Related Issues (20)
- Confusing index behavior + cache invalidation with certain notebook links HOT 2
- Long footnotes can overlap code listings HOT 4
- Error in Windows file path
- Case where `clerk/row` displays only the first of its arguments HOT 4
- Environment setup: requiring cljc source files and possibility of using cljs HOT 3
- Katex renderer should not throw on error
- editor mode doesn't apply unquotes HOT 5
- clerk/vl doesn't update reactively HOT 1
- Having multiple tabs open with different URLs at the same time
- Using clerk as a standalone command line tool only displays default home.clj only HOT 3
- Page size option throws on string values
- A Notebook throwing Exceptions leads to a blank Screen
- Clerk in Babashka fails with "Unable to resolve classname: io.methvin.watcher.DirectoryChangeEvent" HOT 2
- Rendering of Images is broken in static Apps
- Tap Inspector re-renders tapped values
- Default index shows a misleading notice HOT 1
- Hidden viewer eval results produce vertical whitespace HOT 1
- Defs in clerk fragments are shown as vars
- Clerk Editor broke HOT 1
- Invalid LaTeX math appears to cause the Clerk browser UI to crash 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 clerk.