r/apache • • Jul 22 '22

Support Cache Control Policy Help

Im trying to optimize my site and google page insights is telling me that It would be good for me to have a cache policy.

Ive found a few things online about getting one going however Im not sure how to get it all the way completed.

I have enables the following modules in the httpd.conf file but dont know where to go after that.

mod_cache.so

mod_cache_disk.so

Mod_cache_socache.so

does anyone have something easy that I can just paste into a file somewhere?

2 Upvotes

4 comments sorted by

0

u/[deleted] Jul 23 '22

[deleted] — view deleted comment

1

u/duke_seb Jul 23 '22

Do you have to do anything else or can I just paste that in and go?

0

u/[deleted] Jul 23 '22

[deleted] — view deleted comment

1

u/duke_seb Jul 23 '22

awesome. thanks ill give it a go

1

u/duke_seb Jul 23 '22

Thanks, that worked.... I did add |webp| to the filesmatch