Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Optimize (0.65 sec)

  1. fastapi/dependencies/models.py

            self.call = call
            self.use_cache = use_cache
            # Store the path to be able to re-generate a dependable from it in overrides
            self.path = path
            # Save the cache key at creation to optimize performance
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. docs/en/docs/reference/responses.md

        PlainTextResponse,
        RedirectResponse,
        Response,
        StreamingResponse,
        UJSONResponse,
    )
    ```
    
    ## FastAPI Responses
    
    There are a couple of custom FastAPI response classes, you can use them to optimize JSON performance.
    
    ::: fastapi.responses.UJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    * 🔧 Update MkDocs for other languages. PR [#9734](https://github.com/tiangolo/fastapi/pull/9734) by [@tiangolo](https://github.com/tiangolo).
    * 👷 Refactor Docs CI, run in multiple workers with a dynamic matrix to optimize speed. PR [#9732](https://github.com/tiangolo/fastapi/pull/9732) by [@tiangolo](https://github.com/tiangolo).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  4. docs/en/docs/deployment/docker.md

        As this has all the code which is what **changes most frequently** the Docker **cache** won't be used for this or any **following steps** easily.
    
        So, it's important to put this **near the end** of the `Dockerfile`, to optimize the container image build times.
    
    6. Set the **command** to use `fastapi run`, which uses Uvicorn underneath.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top