SMF Support > Server Performance and Configuration
Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)
colby2152:
--- Quote ---# Turn it on
ExpiresActive On
# Set a default expiry time. One hour is fine, but a day or longer may be appropriate.
ExpiresDefault A3600
# Turn expiry off for dynamic content (or potentially dynamic content).
ExpiresByType application/x-httpd-php A0
ExpiresByType application/x-python-code A0
ExpiresByType text/html A0
<FilesMatch "\.(php|py|pyc|pyo)$">
ExpiresActive Off
</FilesMatch>
--- End quote ---
Do I simply add this (as quoted) to my .htacess file in my domain's root file directory?
colby2152:
A lot of this is above my head.... looking to hire someone to make these changes.
h78509:
Word of warning. Seems like that for certain forums #8 actually decreases performance, not improves it. So if you run that script, observe what happens to your database size and cancel the script if the database becomes bigger.
青山 素子:
--- Quote from: h78509 on September 07, 2011, 12:48:58 PM ---Word of warning. Seems like that for certain forums #8 actually decreases performance, not improves it. So if you run that script, observe what happens to your database size and cancel the script if the database becomes bigger.
--- End quote ---
Actually, it's a tradeoff. You'll get a larger database, but SMF will have to do less work. You're trading a larger table for a performance increase. If you have a highly-active board, it's a good script. If your board has lots of older unused accounts, you'll get a large jump in size and not much performance increase as all the inactive users will be updated as well.
Edward123:
Thanks for posting this list.
#1 is very important, if it's the one where you let browsers cache avatar images. I recall that SMF out of the box does not let the browser cache the avatars but instead requires php processing... which can be a huge performance hit...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version