• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ThePalaceProject / web-patron / 28952039037
89%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 02:52PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2026 02:50PM UTC coverage: 88.501%. Remained the same
28952039037

push

github

web-flow
Reduce server-side caching (PP-4753) (#160)

## Description

- Adds a per-request (`getServerSideProps`) variant of the shared
page-props wrapper and switches the pages whose dynamic route param is
unbounded — book, collection, and the login method page (its param
embeds a backend URL or free-form input) — from static generation to
server-side rendering, so no cache file is written per unique URL. These
responses intentionally keep `Next.js`'s default no-store
`Cache-Control` (at least for the time being).
- The remaining statically generated pages now use `fallback:
"blocking"` and return `notFound` for unknown library slugs, so junk
paths render the custom 404 page without persisting a cache entry on
disk.
- The auth document cache keeps repeated renders for the same library
from issuing redundant upstream fetches for per-request rendering.

## Motivation and Context

Server-side incremental cache files were using too much storage. Several
routes accept arbitrary values in their dynamic params, so any unique
URL that was requested (e.g., by crawlers or scanners) persisted a
statically generated page to disk, growing the cache without bound.

[Jira PP-4753]

## How Has This Been Tested?

- Manual tested in local dev environment and verified that results for
the dynamic routes mentioned above were not cached.
- New and updated tests covering both ISR and SSR wrappers.
- All checks pass locally.
- [CI
check](https://github.com/ThePalaceProject/web-patron/actions/runs/28947900932)
pass.

## Checklist:

- N/A - I have updated the documentation accordingly.
- [x] All new and existing tests passed.

225 of 260 branches covered (86.54%)

Branch coverage included in aggregate %.

383 of 427 relevant lines covered (89.7%)

29.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28952039037.1 08 Jul 2026 02:52PM UTC 16
88.5
GitHub Action Run
Source Files on build 28952039037
  • Tree
  • List 16
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ed141b3a on github
  • Prev Build on main (#28897271703)
  • Next Build on main (#28957249081)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc