luciopaiva / witchcraft

Inject Javascript and CSS right from your file system. Think GreaseMonkey for more advanced users.
https://luciopaiva.com/witchcraft
MIT License
260 stars 19 forks source link

In-memory cache of scripts #5

Closed luciopaiva closed 6 years ago

luciopaiva commented 7 years ago

Cache to avoid going to the disk all the time, which can significantly slow down page loading.

This is a more involved enhancement, since the extension would have to know when to invalidate cached scripts. The server could make use of Node's file watch API to know when to refresh them.

luciopaiva commented 6 years ago

The new version has a totally different architecture (there's no Node server anymore!), so I decided to archive this, at least for now.