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

PWA: Do not cache subprojects #508

Closed
4 tasks done
cfour-hi opened this issue Feb 16, 2022 · 3 comments
Closed
4 tasks done

PWA: Do not cache subprojects #508

cfour-hi opened this issue Feb 16, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@cfour-hi
Copy link

Checklist

Is your feature request related to a problem? Please describe

Use PWA under root path, but don't want to apply to subpaths.

Describe the solution you'd like

Add judgment here:
https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/assets/js/pwa/sw.js#L52-L56

Describe alternatives you've considered

Additional context

@cfour-hi cfour-hi added the enhancement New feature or request label Feb 16, 2022
@cfour-hi
Copy link
Author

Set uncached subpaths in config files

@stale
Copy link

stale bot commented Mar 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 18, 2022
@stale stale bot closed this as completed Mar 20, 2022
@clearbluejar
Copy link

Still running into issues here. Would like an option to configure uncached subpaths. This somewhat exists with denyUrls

const denyUrls = [
{% if site.google_analytics.pv.cache_path %}
'{{ site.google_analytics.pv.cache_path | absolute_url }}'
{% endif %}
];
. But no defaults in the config exist...

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

No branches or pull requests

2 participants