Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to cache ssr entry resource? #163

Open
1 of 3 tasks
Hideer opened this issue Apr 2, 2019 · 0 comments
Open
1 of 3 tasks

How to cache ssr entry resource? #163

Hideer opened this issue Apr 2, 2019 · 0 comments

Comments

@Hideer
Copy link

Hideer commented Apr 2, 2019

BEFORE YOU SUBMIT please read the following:

  • I'm submitting a bug report
  • I'm submitting a feature request
  • I'm submitting a support request

webpack version:
4.26

sw-precache-webpack-plugin version:
0.11.5

Please tell us about your environment:
Windows 10

Browser: [Phantom XX | Chrome XX | Firefox XX | IE XX | Safari XX | Other XX]
chromw v69
Current behavior:
Because my entry index page is rendered via SSR and is not packaged and generated.
All I want to cache is the SSR generated files, but I can't solve it very well in the configuration.
image

Expected/desired behavior:
Cache pages after SSR

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with your:

  • Webpack configuration:

  • Generated service worker (not minified):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant