Resources and pagespeed

Permalink Browser Info Environment
Hi. Brilliant theme, best on the marketplace, nice work!

Though I've noticed Pixel2 is very resource hungry, with several megabytes of plugins and stylesheets loading on every page, which has a negative impact on SEO.

Would it be possible to rarionalise these resources to help increase pagespeed scores?

Type: Discussion
Status: In Progress
simonchilton
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi Simon,
I should say The Pixel is not even near what you have described as "resource hungry". As far as it contains/uses the LESS files, it may seem heavy on the developing phase, but the moment you turn on the cache, the theme uses only one minified CSS file (280K) and a standard bootstrap file.
In addition to the core cache features, you are capable of turning on Html Minifier (Pixel Options > Optimization > Html Minify > Minify). I can assure you if you do the setup properly, not only will the site perform smooth and fast, but also you will receive pretty amazing scores on every page analyzer.
Cheers,
simonchilton replied on at Permalink Reply 1 Attachment
simonchilton
Hi. My apologies - I must have been logged in when I was looking at the network usage.

I'm seeing a few things though:
plugins.js (378.67KB size, 101.57KB transferred)
functions.js (54.77KB size, 14.5KB transferred)
...plus a number of other js and css files that are being loaded separately. (see attached)
It's a lot of requests that could maybe be concatenated in to single files.

Is this normal, or am I doing something wrong? I have all the concrete5 caches activated.
shahroq replied on at Permalink Reply
shahroq
If you do the setup properly you should 3 CSS file and 2 js file:
/theme_pixel/themes/pixel/css/bootstrap.css
/application/files/cache/css/pixel/style.css?ts=...
/concrete/css/font-awesome.css?ccm_nocache=...

/packages/theme_pixel/themes/pixel/js/plugins.js
/packages/theme_pixel/themes/pixel/js/functions.js

Other css/js files either should come from other blocks or haven't merged in the mentioned files properly.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.4
Version Installed - 8.4.4
Database Version - 20180717000000

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), HTML+PHP Code Block (1.0.1), Pixel Theme (2.1.2)

# concrete5 Overrides
blocks/page_list/templates/ipsef_portfolio_grid_4.php, blocks/page_list/templates/ipsef_blog_sidebar.php, blocks/page_list/templates, blocks/page_list, authentication/concrete/form.php, authentication/concrete, single_pages/login.php

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.0.33

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, interbase, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 16
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 256
memory_limit - 1024M
post_max_size - 512M
sql.safe_mode - Off
upload_max_filesize - 512M
ibase.max_links - Unlimited
ibase.max_persistent - Unlimited
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.