Jump to content

htaccess to improve performance and page speed scores


Recommended Posts

Posted

There is no problem, its only settings that overrides the ones in Apache. I disabled htaccess on my server. Everything is inside the apache conf file. htaccess is a performance killer.

Posted

Do you have your own server or do you have a hosting provider? 

I have a hosting provider and I'm not sure what I can and cannot do to speed up the loading times ...

Posted

So, eventhough it's currently empty - I just copy/paste all of the contents from OPs first post and test if it's any better or if I get any errors?

Should I change anything or is copy/paste sufficient? I'm thinking I can't do much harm, since the current .htaccess file is empty. If anything stops working, I just delete the contents of the .htaccess file and I'm back to where I started, right?

I've noticed there are several other .htaccess files in other folders:

XShGxsU.png

I should probably leave these unchanged?

Posted

@Tarun - you got that performance boost just by adding those lines to the root .htaccess?

My .htaccess file is completely empty - is this normal?

Yes I did. You can download the pre-made .htaccess file and make the necessary edits as you wish. Simply upload it to your forums root. But as a bonus, the speed boosting lines will also work with other CMS softwares and webpages.

Posted

I tried this and gtmetrix says I went from 58% to 85%. Pageloads felt quite faster too ... for a while. I think it's just behaving differently. The page is blanke a couple of seconds and then it appears all of a sudden.

I'm in contact with my hosting provider. There seems to be a CPU issue - only my account on the server keeps reaching the CPU limit ... They're looking into it.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...