[ic] Strap template slow

Josh Lavin jlavin at endpoint.com
Mon Dec 28 19:51:31 UTC 2015

Quoting S. Caballe (scaballe at gmail.com):
> I build a catalog with the new strap template, after some small changes in
> the appearance everything is working.
> But the interchange response is a slower than the old catalog based on
> standard template.
> There is a 1 second delay even with a static content inside the layout
> before page delivery
> But the response is fast even with a intensive database query with in a page
> without the layout template.
> Any idea where can be the bottleneck?

I would suggest you review the response times for page elements from
your server via something like Firefox's Developer Tools.

The Strap template does load CSS and JS from the Bootstrap CDN, as well
as jQuery from Google's CDN. These, while fast responses, are probably
larger files than the CSS of the original Standard template (and
Standard inlined all its JS, as I recall).

However, an adept developer would not use Strap out of the box, except
as a baseline. You should ideally customize Bootstrap to eliminate bits
you don't need (http://getbootstrap.com/customize/), as this will help
to reduce the size of the Bootstrap CSS and JS.

If you do away with the top navigation dropdown menu, then you can
eliminate jQuery as well.

Aside from these elements, the images are exactly the same as Standard
catalog, and I doubt the custom CSS is much different.

Josh Lavin
End Point Corporation

More information about the interchange-users mailing list