<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Google PageSpeed</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112128630" />
  <subtitle>Google PageSpeed</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112128630</id>
  <updated>2026-04-03T23:27:25Z</updated>
  <dc:date>2026-04-03T23:27:25Z</dc:date>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112854341" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112854341</id>
    <updated>2019-03-21T15:54:31Z</updated>
    <published>2019-03-21T15:54:31Z</published>
    <summary type="html">Yeah, 7.2 is still trying to get to the first release and I&amp;#39;m not sure the changes have made it into a milestone yet.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-03-21T15:54:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112853411" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112853411</id>
    <updated>2019-03-21T14:36:55Z</updated>
    <published>2019-03-21T14:36:55Z</published>
    <summary type="html">Interesting!&lt;br /&gt;&lt;br /&gt;One important thing, though:  HTTP/1.1 and HTTP/2&lt;br /&gt;&lt;br /&gt;In HTTP/1.1 you want as few files as possible.&lt;br /&gt;In HTTP/2.0 you don&amp;#39;t care. More files are often actually better.&lt;br /&gt;&lt;br /&gt;I habe this is considered in the optimizations. We are still not there yet with HTTP/2, but isn&amp;#39;t uncommon anymore and we have customers, that already use it. An optimization that is exceptional for HTTP/1.1 might be detrimental for HTTP/2.0 ...&lt;br /&gt;&lt;br /&gt;I also couldn&amp;#39;t resist and tested the Alpha with Lighthouse just now, but the changes are apparently not there yet. While it is better in some metrics than 7.1, it still receives 0 points on performance.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-03-21T14:36:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112852105" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112852105</id>
    <updated>2019-03-21T13:47:51Z</updated>
    <published>2019-03-21T13:47:51Z</published>
    <summary type="html">I&amp;#39;ve recently found out that there are significant pagespeed improvements baked into the coming 7.2 release. There are some internal changes going on affecting how portlet-based JS and CSS are aggregated and returned to the browser in a single download which will help significantly.&lt;br /&gt;&lt;br /&gt;Other changes going in too (that I don&amp;#39;t have details on) that will also impact PageSpeed numbers...</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-03-21T13:47:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112840490" />
    <author>
      <name>Dominik Marks</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112840490</id>
    <updated>2019-03-20T15:07:30Z</updated>
    <published>2019-03-20T15:07:30Z</published>
    <summary type="html">Thank you Wes for your feedback.&lt;br /&gt;&lt;br /&gt;we did already most of the things you but still receive a score &amp;lt; 20 on mobile and &amp;lt; 60 on desktop.&lt;br /&gt;&lt;br /&gt;If you are interested, here is a list of optimization we did:&lt;br /&gt;&lt;ul style="list-style: disc outside;"&gt;&lt;li&gt;Using Adaptive Media for all images&lt;/li&gt;&lt;li&gt;Enabling the &amp;#34;Header&amp;#34; fitler in Liferay, so that &amp;#34;cache-control&amp;#34; headers are set correctly&lt;/li&gt;&lt;li&gt;Enabling the &amp;#34;GZIP&amp;#34; filter in Liferay&lt;/li&gt;&lt;li&gt;Lazy loading for many images (e.g. images are not loaded at first, but only when they come into view, e.g. you scoll to the positon where the image is)&lt;/li&gt;&lt;li&gt;Loading non critical Javascript asynchronously (e.g. scripts which are not needed at first but can be loaded after the page is already displayed in the browser)&lt;/li&gt;&lt;li&gt;Minifying all own Javascript files&lt;/li&gt;&lt;/ul&gt;Google PageSpeed still complains about that the page has too much CSS and too much Javascript which is not needed in the whole page.</summary>
    <dc:creator>Dominik Marks</dc:creator>
    <dc:date>2019-03-20T15:07:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112839900" />
    <author>
      <name>Wes Kempa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112839900</id>
    <updated>2019-03-20T14:49:33Z</updated>
    <published>2019-03-20T14:49:33Z</published>
    <summary type="html">Thank you, Dominik. We are now getting a result of ~ 40 mobile / 80 desktop using the following:&lt;br /&gt;&lt;br /&gt;&lt;ul style="list-style: disc outside;"&gt;&lt;li&gt;Moving any custom theme non-amd-loaded, javascript resource calls into main.js, allowing for a single resource call that is minimized (+10 pt for our use case)&lt;/li&gt;&lt;li&gt;Consolidating any custom theme css resource calls into _custom.scss, allowing for a single resource call that is minimized&lt;/li&gt;&lt;li&gt;Making use of GZip compression on the Apache Web Server to greatly lower resource file size. (+20 pt for our use case)&lt;/li&gt;&lt;/ul&gt;The team is in the process of running QA on the result, but we are happy with the results so far. &lt;br /&gt;&lt;ul style="list-style: disc outside;"&gt;&lt;/ul&gt;</summary>
    <dc:creator>Wes Kempa</dc:creator>
    <dc:date>2019-03-20T14:49:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112716634" />
    <author>
      <name>Dominik Marks</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112716634</id>
    <updated>2019-03-13T09:42:15Z</updated>
    <published>2019-03-13T09:42:15Z</published>
    <summary type="html">We are using Liferay 7.0</summary>
    <dc:creator>Dominik Marks</dc:creator>
    <dc:date>2019-03-13T09:42:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112716001" />
    <author>
      <name>Arun Das</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112716001</id>
    <updated>2019-03-13T09:35:14Z</updated>
    <published>2019-03-13T09:35:14Z</published>
    <summary type="html">Hi Dominik,&lt;br /&gt;On which verison of Liferay did you try to optimize?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;​​​​​​​&lt;br /&gt;Regards,&lt;br /&gt;Arun</summary>
    <dc:creator>Arun Das</dc:creator>
    <dc:date>2019-03-13T09:35:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112687150" />
    <author>
      <name>Dominik Marks</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112687150</id>
    <updated>2019-03-12T09:30:34Z</updated>
    <published>2019-03-12T09:30:34Z</published>
    <summary type="html">Hello Wes Kempa,&lt;br /&gt;&lt;br /&gt;can you tell me a little bit about what you did to achieve a 30/40+ Score at Google PageSpeed for mobile?&lt;br /&gt;&lt;br /&gt;I did a lot of &amp;#34;optimizations&amp;#34; for a customer&amp;#39;s theme and it does not get more than 20 Points at Google PageSpeed.&lt;br /&gt;&lt;br /&gt;Thanks a lot.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;​​​​​​​ Dominik</summary>
    <dc:creator>Dominik Marks</dc:creator>
    <dc:date>2019-03-12T09:30:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112671999" />
    <author>
      <name>Wes Kempa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112671999</id>
    <updated>2019-03-11T14:27:10Z</updated>
    <published>2019-03-11T14:27:10Z</published>
    <summary type="html">Thank you for the discussion. I understand the challenges faced due to Liferay trying to be a universal tool for many teams.&lt;br /&gt;&lt;br /&gt;Clients that I work with see a business impact beyond seeing a low score through the PageSpeed Insights tool. If this was not the case, I would also support ignoring the PageSpeed Insights&amp;#39; report score.&lt;br /&gt;&lt;br /&gt;Google will not allow marketing campaigns to be published for mobile automatically for low scoring sites. A direct call to Google to &amp;#39;manually override&amp;#39; the low score is required to publish a campaign. My team&amp;#39;s goal is to improve this process and avoid lost time for future client campaigns in addition to potential performance improvements along the way.&lt;br /&gt;&lt;br /&gt;With minor theme customizations we are able to get a score of 36-40 consistantly and will be working toward a 50 + consistant score. &lt;br /&gt;&lt;br /&gt;As I continue our investigation of options, I will watch this ticket and follow up with lessons learned through this process. Thank you.</summary>
    <dc:creator>Wes Kempa</dc:creator>
    <dc:date>2019-03-11T14:27:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112153272" />
    <author>
      <name>Alfonso Crisci</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112153272</id>
    <updated>2019-01-28T06:57:48Z</updated>
    <published>2019-01-28T06:57:48Z</published>
    <summary type="html">If I can add something more to the topics, multiple improvements in this
regard are expected to be implemented by &lt;a href="https://issues.liferay.com/browse/LPS-83949"&gt;https://issues.liferay.com/browse/LPS-83949&lt;/a&gt;</summary>
    <dc:creator>Alfonso Crisci</dc:creator>
    <dc:date>2019-01-28T06:57:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112137569" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112137569</id>
    <updated>2019-01-25T14:30:02Z</updated>
    <published>2019-01-25T14:30:02Z</published>
    <summary type="html">&lt;p&gt;The drupal home page is another bad example. It is not dynamic
  either, it's their brochure site and, as such, it is fairly static and
  therefore can be &amp;quot;fake&amp;quot; optimized to appear to be fast when,
  as we all know, the dynamic versions fall way below this number.&lt;/p&gt;
&lt;p&gt;So again, I still hate this kind of evaluation because folks that
  don't know better will find this and say &amp;quot;ooh, drupal is
  &lt;em&gt;so&lt;/em&gt; much faster than liferay&amp;quot; but the reality is that is
  pretty much BS. It's like the way graphics card manufacturers would
  specifically build their cards and write their drivers to artificially
  score higher numbers from the benchmarking tools. Not because one card
  was actually better than another, but more because they knew that the
  marketing aspect of saying &amp;quot;we are X better than the
  competition,&amp;quot; regardless of how small or meaningless X was, could
  sway some decision makers.&lt;/p&gt;
&lt;p&gt;Pagespeed then becomes the same tool to artificially adjust numbers
  that, in the end, do not provide a real measure about site
  performance, it is just an artificial bar to use to appear to be
  better than some other site.&lt;/p&gt;
&lt;p&gt;If, however, you want to have a general discussion about how to
  improve performance, that is something that has value and merit for all.&lt;/p&gt;
&lt;p&gt;So, pagespeed aside, what Savoir Faire did is one solid approach; the
  idea is to lighten the &amp;quot;guest&amp;quot; theme complexity but leave
  the authenticated theme as-is. Using a &amp;quot;theme switch&amp;quot; is one
  approach, the other is to rebalance the javascript.barebone.files and
  javascript.everything.files (in portal-ext.properties) along with
  leveraging the theme's &amp;quot;isSignedIn()&amp;quot; to restrict what is
  done for guest users.&lt;/p&gt;
&lt;p&gt;Another option is to leverage caching to improve performance: &lt;a href="https://community.liferay.com/blogs/-/blogs/increasing-capacity-and-decreasing-response-times-using-a-tool-you-re-probably-not-familiar-with"&gt;https://community.liferay.com/blogs/-/blogs/increasing-capacity-and-decreasing-response-times-using-a-tool-you-re-probably-not-familiar-with&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In both cases, designing a landing page based upon a brochure site
  with minimal dynamic aspects and optimized content, image, etc and you
  too can appear to have a higher ranking.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-01-25T14:30:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112131355" />
    <author>
      <name>Arun Das</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112131355</id>
    <updated>2019-01-25T07:14:44Z</updated>
    <published>2019-01-25T07:14:44Z</published>
    <summary type="html">&lt;p&gt;&amp;quot;oh my site has low pagespeed rankings&amp;quot;.&lt;/p&gt;
&lt;p&gt;Exactly, this is what the client has to say. You say its the
  &amp;quot;wrong tool for the job&amp;quot;, what is the right tool?&lt;/p&gt;
&lt;p&gt;You are not really right about the use on static sites only. We have
  really improved pagespeed score on previous versions of Liferay
  without breaking anything while being completely dynamic. Also,
  competions like Drupal (From
  https://www.gartner.com/reviews/market/horizontal-portals/vendor/liferay/alternatives)
  does better job in this area and these are the references from clients
  when we propose Liferay.&lt;/p&gt;
&lt;p&gt;
  &lt;img src="/documents/14/110203810/_drupal.PNG/f6ab51bf-b2ff-1eba-6f5a-38773816bc92?t=1548400372805" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Arun Das</dc:creator>
    <dc:date>2019-01-25T07:14:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112128944" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112128944</id>
    <updated>2019-01-25T05:16:07Z</updated>
    <published>2019-01-25T05:16:07Z</published>
    <summary type="html">&lt;p&gt;blah.  I hate these kinds of things...&lt;/p&gt;
&lt;p&gt;&amp;quot;oh my site has low pagespeed rankings&amp;quot;. Pagespeed is
  designed to test static content sites to ensure they are optimized for
  mobile rendering, simple sites with minimal dynamic aspects.&lt;/p&gt;
&lt;p&gt;Liferay, however, with roles, permissions, dynamic content, etc is
  not going to conform to these rules. Pagespeed testing, ranking and
  optimization are simply a bad application of a wrong tool for the job.&lt;/p&gt;
&lt;p&gt;Even the referenced link points out that they could only create a
  super lightweight theme for the guest user (the user with typically no
  real dynamic aspects); as soon as you log in and especially when you
  are an admin, they needed the &amp;quot;theme switcher&amp;quot; concept to
  restore the normal Liferay code so the dynamic aspects of the site
  would be functional.&lt;/p&gt;
&lt;p&gt;The bottom line is, for static sites or sites with minimal dynamic
  aspects, pagespeed analysis is appropriate and can help with page load times.&lt;/p&gt;
&lt;p&gt;But for a full fledged CMS with lots of dynamic aspects, javascript
  frameworks for functionality, pagespeed rankings are going to
  difficult if not impossible to reach.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-01-25T05:16:07Z</dc:date>
  </entry>
  <entry>
    <title>Google PageSpeed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112128629" />
    <author>
      <name>Arun Das</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112128629</id>
    <updated>2019-01-25T03:05:27Z</updated>
    <published>2019-01-25T03:05:27Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to test pagespeed for liferay.com, but it seems to have a
  really bad score on mobile&lt;/p&gt;
&lt;img src="/documents/14/110203810/_liferay.PNG/e477421d-3298-0490-a54c-a9a84037591e?t=1548385034954" /&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;How can we reduce the number of request?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;img src="/documents/14/110203810/_blocking.PNG/111bcf10-0b80-4c5e-d60e-d012e2172b2f?t=1548385019947" /&gt;
&lt;p&gt;I saw a good article here
  https://blog.savoirfairelinux.com/en-ca/2018/how-to-create-a-light-and-fast-loading-theme-using-liferay-portal/.
  I installed mod_pagespeed module, which actually helped to improve.
  But, it seems like there is lot more room to improve. I did encounter
  some error, when try to defer javascript using mod_pagespeed like the
  svg4everybody script was broken. Are there any suggestions on how to
  improve Google PageSpeed score as there are some clients who rely on these.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Arun&lt;/p&gt;</summary>
    <dc:creator>Arun Das</dc:creator>
    <dc:date>2019-01-25T03:05:27Z</dc:date>
  </entry>
</feed>
