Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

140
Vistas
Adjusting page cache in pdf.js

My question:

Is there any way to either suppress unloading of specific pages (say, by intercepting an event) or changing how aggressively PDF.js de-renders pages?

my usecase:

I use PDF.js to render textbooks.

observed behavior:

Some pages take a while to render. Scrolling away from those pages and scrolling back results in a spinner while the page loads.

why this is a problem:

For my specific usecase: students are most likely to need to refer back to the most slow-rendering pages while reading another part of the textbook. (e.g. flow charts and diagrams).

In general: I often want to leave multiple points in a document loaded (e.g., all the pages containing a search result). The re-rendering is problematic and I'm OK throwing a little more CPU and memory at the problem.

bonus points

is there a way to do this on the Firefox pdf renderer? even as a plugin or bookmarklet?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda