Configuration of pagespeed


#1

I added hhvm and pagespeed support to my site via ‘ee site update mysite.com --hhvm --pagespeed’ What needs to be added to the nginx config file (ee site edit mysite.com) to get results with pagespeed?

I’ve added; pagespeed on; pagespeed RewriteLevel CoreFilters;

But when looking with gtmetrix I see no difference. ‘ee site info mysite.com’ show that both hhvm and pagespeed are enabled.

What are the recommendations for the nginx config file? Anything else that needs to be changed?

Thanks, David


#2

I actually need to use ‘ee site edit mysite.com --pagespeed’ I edited the pagespeed.conf file (added ‘pagespeed RewriteLevel CoreFilters;’), but still see no differences with gtmetrix

But is that enough? No need for ‘pagespeed on;’ ? Anything else? How can I check pagespeed is working?

Thanks, David


#3

I think the pagespeed.conf file is not used/processed.

Can that be?

I added some crap in that file and still happily get ‘Reload : nginx [OK]’. I would have expected an error.


#4

You can check Pagespeed is working or not using by open HTML at browser and serach for string pagespeed


#5

@gau1991

I can’t find ‘pagespeed’ in the HTML. ‘ee site info’ says that pagespeed is enabled.

What can be wrong? I think pagespeed.conf is not used.

Thanks, David


#6

I’ve found the issue. See https://github.com/rtCamp/easyengine/issues/506

Thanks, David.


#7

Hi @ddelaey

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#8