Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Added option for excluding named chunks#61

Open
gunhaxxor wants to merge 1 commit intoGoogleChromeLabs:masterfrom
gunhaxxor:master
Open

Added option for excluding named chunks#61
gunhaxxor wants to merge 1 commit intoGoogleChromeLabs:masterfrom
gunhaxxor:master

Conversation

@gunhaxxor
Copy link
Copy Markdown

I think it's very important to be able to exclude specific chunks from the prefetch. A common use case is a chunk handling the admin route in the web app which might expose a security vulnurability if fetched by all clients.

I added functionality for providing an array with named chunks that should get excluded from the plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant