Use browser caching (chrome audit)

im trying to learn about browser caching techniques. everything is going well so far, except for one bit that is stuck. when i run audit on google chrome. I get

Leverage browser caching (1)
The following resources are explicitly non-cacheable. Consider making them cacheable if possible:
www.noelie.localhost.com/

i fixed css and javascript with

<FilesMatch "\.(css|js|png|jpg)$">
Header set Cache-Control "max-age=31536050, public, cache"
</FilesMatch>

how can I cache the homepage www.noelie.localhost.com. Thank you for your time. Noeli

+4
source share

Source: https://habr.com/ru/post/1542915/


All Articles