Resource icon

XenForo Load Background Image After XenForo Page Load


Code Monkey
Staff member
Kevin submitted a new resource:

Load Background Image After Page Load - Help increase page response times

One of the problems is with using a page background image is that large file sizes can cause a delay with your page response times.

An easy to implement solution with XenForo is to use jQuery to load the background image after the page is ready. If you are using a 50K image file then your total page load time will remain; the important change is that your page content will load first and then the background image so your forum visitors don't have to wait for the 50K image to load first and...

Read more about this resource...