slight performance boost

User avatar
matt3o
-[°_°]-

29 Dec 2013, 18:22

If you are in for a slight performance boost you may try the following.

Create the virtual domain: images.deskthority.net (simply i.) and point it to /styles/deskthority_base/theme/images/ (and possibly one for /images/ )

then in the apache configuration for the virtual domain add:

Code: Select all

AllowOverride None
Header unset ETag
FileETag None
ExpiresActive On
ExpiresDefault "access plus 1 year"
Without changing anything in the current structure you should get a small speed boost. You probably already know what all this does, if you need in depth just let me know. Hope this helps.

Even better you could make a virtual domain for /styles/deskthority_base/theme/ (and also load JS, CSS from a pseudo-cdn) but in that case you probably need selective Expires directives.

xbb

31 Dec 2013, 16:52

We could do that however we might need to replace lots of references in the theme files, but I think we can set specific expires per directory right?

User avatar
matt3o
-[°_°]-

31 Dec 2013, 16:56

yep, expires can be set per directory

User avatar
webwit
Wild Duck

15 Feb 2014, 20:20

This was lost when moving to the new server. Expire and gzip compression should be better now.

Image

User avatar
matt3o
-[°_°]-

15 Feb 2014, 20:24

oh so you were listening :)

Post Reply

Return to “Deskthority talk”