[Enhancement]: Host resources localy #340

Open
opened 2026-04-24 23:05:28 +02:00 by adam · 3 comments
Owner

Originally created by @jflattery on GitHub (May 6, 2022).

Describe the feature/enhancement

I think it would be great if resources were served from the local server, not externaly. Examples:

  • Workbox is used by node_modules/@nuxtjs/pwa. fetched from jsdelivr.net.
  • A background texture image is fetched from freepik.com
  • Github is fetched to check for new versions
Originally created by @jflattery on GitHub (May 6, 2022). ### Describe the feature/enhancement I think it would be great if resources were served from the local server, not externaly. Examples: - Workbox is used by `node_modules/@nuxtjs/pwa`. fetched from [jsdelivr.net](https://cdn.jsdelivr.net/npm/workbox-cdn@5.1.4/workbox/workbox-sw.js). - A background texture image is fetched from [freepik.com](https://image.freepik.com/free-photo/brown-wooden-textured-flooring-background_53876-128537.jpg) - [Github](https://api.github.com/repos/advplyr/audiobookshelf/releases) is fetched to check for new versions
adam added the enhancement label 2026-04-24 23:05:28 +02:00
Author
Owner

@JBlond commented on GitHub (Nov 21, 2023):

@advplyr
It is possible see https://pwa.nuxtjs.org/workbox/ and https://github.com/unjs/workbox-cdn

@JBlond commented on GitHub (Nov 21, 2023): @advplyr It is possible see https://pwa.nuxtjs.org/workbox/ and https://github.com/unjs/workbox-cdn
Author
Owner

@salixh5 commented on GitHub (Nov 28, 2023):

Especially would be nice to serve Workbox from the server instead of CDN.

@salixh5 commented on GitHub (Nov 28, 2023): Especially would be nice to serve Workbox from the server instead of CDN.
Author
Owner

@DDriggs00 commented on GitHub (Oct 23, 2024):

I definitely think that having the server be fully local and not dependent on the internet is something essential for a proper self-hosted service.

For stuff like the version check, which (IIRC) just doesn't show anything if it can't reach github, that's not a problem, but for stuff that can actually affect the application negatively, such as workbox, it is actually something that could potentially be a problem.

@DDriggs00 commented on GitHub (Oct 23, 2024): I definitely think that having the server be fully local and not dependent on the internet is something essential for a proper self-hosted service. For stuff like the version check, which (IIRC) just doesn't show anything if it can't reach github, that's not a problem, but for stuff that can actually affect the application negatively, such as workbox, it is actually something that could potentially be a problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#340