Home
Support Forums

How to use @11ty/eleventy-cache-assets on Netlify?

Hello everyone! In Eleventy’s documentation, I can read:

Eleventy Cache Assets can work inside of a Netlify Function (or AWS Lambda) by using directory: “/tmp/.cache/”.

I then looked at Netlify’s documentation about Functions, but it’s beyond my skills at the moment … Does anyone have a solution for me?

What exactly is the problem? You haven’t mentioned what it is that you wish to do.

I need a folder for caching assets, images from galleries or PDF documents for example. When a deploy occures, I want to use cached assets.

EDIT: I found a plugin for that (netlify-plugin-11ty).
Thx @hrishikesh for your prompt response.