Comments (2)
Hi,
if you're referring to the Docker build cache, that caches the Docker image layers between two successive Actor builds, that is turned on by default, and you can use it in the API client through the use_cache
argument in the ActorClient.build()
method.
If you'd like to cache the Docker image of an Actor between successive calls of the Actor on the servers where the Actors are executed, that's not always possible and there is no way to control that. When you run an Actor, we cache its Docker image on the executing server, and when you run the Actor again, we try to allocate it to the same server, which should have its image cached. This is not always possible, however (perhaps the server is full and the Actor has to run on a different server, or the image was evicted from the cache because it was not executed for a long time), and the Actor image has to be pulled again.
Does that answer your question?
from apify-client-python.
Closing as I think this is an invalid issue, feel free to reopen if you don't agree.
from apify-client-python.
Related Issues (20)
- Remove underscore prefix from objects that are not private
- Add actor reboot method to the `RunClient`
- Unify indentation in configuration files HOT 6
- Implement Store API endpoints HOT 1
- Not possible to add maxItems parameter. HOT 1
- Add API endpoint for validating Actor input
- Move `apify_client._errors` to `apify_client.errors`
- Migrate to Ruff (linter & formatter)
- Rename identifiers which shadows a builtin attribute
- Delete the re-imports in the `consts.py` module from the `apify-shared`
- Remove `__all__` from all `__init__.py` HOT 1
- Address accessing of non-existing field `_maybe_parsed_body` within `httpx.Response` object HOT 4
- Replace the usage of `Any` with generic types
- Migrate to Poetry for packaging and dependency management #156
- `ApifyApiError` raised when passing list of strings in `.get_items_as_bytes()` HOT 2
- Replace relative imports rather with absolute ones
- KeyValueStore: Method to check key-value store record exists HOT 1
- Methods for limits and usage endpoints for UserClient HOT 1
- Trying to run multiple async tasks results in an error 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 apify-client-python.