Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

I can't make a cache compression and expiration work for some .css, .ico, and .js files

theme

Started by Gabriel L S Saraiva 7 years ago · 0 replies · 542 views
7 years ago

My Grav is set up as in the help documentation but also the GTmetrix site reports some css and js without compression and Leverage browser caching is not specified expiration for css and favicon.ico.
I don't know what to do about it I use the gantry framework for frontend.

I read this topic /forum/installation-hosting/how-to-set-cache-control-for-images-t4016 but I don't use NGINX so I didn't try it.

I have tried this on this topic /forum/archive/css-js-minify-not-working-t5186 and it seems to solve the problem of caching expiration, however it did not resolve the compression.

TXT
/assets/b4ccdc47e25cebc0f1a09dfe499d1f7d.css
/user/plugins/gantry5/assets/js/main.js?5dbd0b47 

Apparently looking files are not being compressed, but performance improved after enabling Pipeline.

last edited 11/03/19 by Gabriel L S Saraiva

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 198 2 months ago
Themes & Styling · by Ian, 2 months ago
3 94 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 456 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 48 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 128 3 months ago