Feature #34643
Turn off caching for apipie in production
Related issues
Associated revisions
History
#1
Updated by Eric Helms about 1 year ago
- Blocks Tracker #34639: Stop generating api-pie cache and rely on dynamic generation of API docs added
#2
Updated by The Foreman Bot 12 months ago
- Assignee set to Eric Helms
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9165 added
#3
Updated by The Foreman Bot 11 months ago
- Fixed in Releases 3.3.0 added
#4
Updated by Eric Helms 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|692bb8bdd3bc276cb3d3b9646b6ac1e3460aaed7.
#5
Updated by Amit Upadhye 11 months ago
- Category set to API
Fixes #34643 - Do not use Apipie cache
This makes a change in production away from using an Apipie cache,
and instead relying on HTML docs and JSON being generated on demand.
Testing has found that they are roughly equivalent in load times,
and solve a larger issue where the docs can present incorrect
information when cached. There are places inside the code where
docs are generated conditionally based on runtime configuration
that can lead to incorrect docs. By switching to on-demand, the Apipie
documentation can accurately reflect the state of the running machine
and the development and production environments get closer in alignment.