Comments (1)
There should be multiple levels of caching, depending on the need.
- Build Cache
- In-Memory
- Purpose: hold onto resources that cannot change during the course of a build, but may change between builds.
- Examples: A template engine's template cache, Orchid resource cache, Orchid template resolution cache
- Task Cache
- In-Memory
- Purpose: Since only one task is run per Orchid lifetime, this basically means the caching of anything that is not expected to change significantly during a normal development session.
- Examples: Particularly expensive resource sources (such as HTTP calls to a headless CMS), and other things which can afford to not be current during a single development session, but are expected to be current every time Orchid is instantiated. Generic HTTP GET calls would likely be cached at this level.
- Lifetime Cache
- On-disk, checked into git
- Purpose: These are items that are cached to a local directory and checked into git, so that they never need to be looked up again. This is useful for things that you know aren't going to change for a very long time, and once it has been downloaded once it really doesn't need to be downloaded again.
- Examples: External assets referenced from a CDN, but downloaded locally; static assets aren't going to change, because changes necessarily mean a different URL, and thus a different resource. OEmbeds might also be useful to cache here, if your site embeds a lot of content
from orchid.
Related Issues (20)
- Add docs for filtering Javadocs
- Feature request (with implementation provided): code from github via gist-it HOT 4
- GitHub Actions deploy friendlyness
- Presentations do not seems to be working in orchid 0.21.0 due to javascript error in Editorial theme. HOT 1
- Move the project to Maven Central HOT 6
- Gradle build warnings and project status HOT 3
- GitHub Actions Tutorial to automatically deploy on push
- Still active? HOT 2
- java.lang.SecurityException: Modifying file outside source, destination, and temp directories HOT 4
- Java 16 support HOT 3
- Question: analytics HOT 1
- Prevent pages from `assets` generator from being indexed by Search feature
- Fix classes with missing/incorrect descriptions HOT 1
- Orchid is not in compliance with PlantUML GPL license HOT 2
- Relicense Orchid under GPL-3.0 for 1.0.0 release
- Add support for Apple Silicon (M1 chip) HOT 1
- Update documentation HOT 2
- Webserver Running successfully but got 404
- Could you help upgrade the vulnerble dependency in sass-gradle-plugin?
- Screenshots not shown (500) HOT 2
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 orchid.