Skip to content

How to use cached css #2171

Answered by pdehaan
JaydeepGo asked this question in Q&A
Jan 14, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

You might get more/better responses in the https://github.com/11ty/eleventy-cache-assets repo, but I'm a bit confused.

Wouldn't the above cache the CONTENTS of the remote CDN'd CSS file locally?
What is being output in the {{ prismjscss }} block? The entire CSS file contents, or undefined/empty string?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pdehaan
Comment options

pdehaan Jan 14, 2022
Collaborator

Answer selected by JaydeepGo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants