EvinceView.View.set_page_cache_size

### Method

# EvinceView Viewset_page_cache_size

#### Declaration [src]

    void
    ev_view_set_page_cache_size (
      EvView* view,
      gsize cache_size
    )

#### Description [src]

Sets the maximum size in bytes that will be used to cache rendered pages. Use 0 to disable caching rendered pages.

Note that this limit doesn’t affect the current visible page range, which will always be rendered. In order to limit the total memory used you have to use `ev_document_model_set_max_scale()` too.

#### Parameters

`cache_size`

  Type: `gsize`

  Size in bytes.