Reduce Server Load

I have realized in the recent week that my server load was going crazy during the day making this site and demos slow to load. I didn’t have time to find the problem until today…

I was getting hit by bots, mostly hitting the /aggregator/ folder which can be found in each of my scripts.

I added a simple and quick fix by adding an htaccess file inside of it with this rules:

 HTML | 
 
 copy code

1
2
# PROTECT THE AGGREGATOR DIRECTORY
3
Options -Indexes
4
<Files *>
5
  deny from all
6
</Files>
7

Problem solved! Server load is back where it should be…