This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Floff3781
Floff3781

The website I am currently working on has been loading very slowly, It appears to be one of the script files. Is there a way to prevent this? I believe I am caching all the files, using {% spaceless %} as well. Is there a way to minify all of the files? (css and other scripts)

EDIT: This should not be an issue with my host, I have been using them for a while now and never had any issues with them.

Last updated

daftspunky
daftspunky

I noticed the site is not applying "Not Modified" headers to the combiner URLs. Try disabling debug mode to improve the performance, or consider enabling these options in the CMS config:

'enableRoutesCache' => true,

'enableAssetCache' => true,

'enableAssetDeepHashing' => false,
Floff3781
Floff3781

daftspunk said:

I noticed the site is not applying "Not Modified" headers to the combiner URLs. Try disabling debug mode to improve the performance, or consider enabling these options in the CMS config:

'enableRoutesCache' => true,

'enableAssetCache' => true,

'enableAssetDeepHashing' => false,

I did this and compressed my images, now it is loading a lot faster. Thanks!

kevin.vermeulen
kevin.vermeulen

daftspunk said:

I noticed the site is not applying "Not Modified" headers to the combiner URLs. Try disabling debug mode to improve the performance, or consider enabling these options in the CMS config:

'enableRoutesCache' => true,

'enableAssetCache' => true,

'enableAssetDeepHashing' => false,

Where can I change these settings?

ndcisiv
ndcisiv

As stated, in the "CMS config", which is located at "config/cms.php"

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.