S
S
Sergey Burduzha2021-10-21 10:22:50
caching
Sergey Burduzha, 2021-10-21 10:22:50

How to add caching for a site on nuxt?

Good afternoon.
Made a website on nuxt.js.
I run build and start on local and I get 94 in pagespeed on the desktop. I
transferred it to the server, and there are only 24 and a message that you need to enable the cache.
vUBAvPU.png

I created a .htaccess file in my project and inserted Cache-Control: max-age=2592000, publicit, but it didn't help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question