TIP: You can type at any time to perform a new search.
Endpoint cache pre-heat
endpoint_cache_preheat · OCA/web-api
- Repository
- OCA/web-api · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.04 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/web-api
- Last tracking update
- 2026-08-07 08:43:00
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- SilvioC2C, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- requests
- System dependencies
- None
- Required by
- None
- Description
Delay cache pre-heat for expensive endpoints. If an endpoint takes to long to get cached, it will probably make your call fail or any cron job that calls it. This module allows pre-heat the cache and delay its generation.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
endpoint_mixin_form_view |
endpoint.mixin | form | Inherits endpoint_cache.endpoint_mixin_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (2)
-
cache_preheatBooleanhelp='If checked, cache will be pre-heated by a cron according to the selected policy. Cache generation will be done in a queue job.'string='Automatic cache pre-heat' -
cache_preheat_tsDatetimereadonly=Truestring='Last pre-heat on'
-
action_preheat_cache_async(self) -
cron_endpoint_cache_preheat(self)@api.modelCron job to preheat cache
Loading…