# |
Dec 6th 2017, 08:29 |
birdy247 |
Morning |
# |
Dec 6th 2017, 08:11 |
joopm |
hello there |
# |
Dec 5th 2017, 21:23 |
ivansosajigga |
since my worker script is already in php, i have the data there in memory, and it's a stretch but maybe it's more efficient to call whatever the shell would call from the CakePHP app, directly from the worker script instead |
# |
Dec 5th 2017, 21:22 |
ivansosajigga |
@hmic i suppose to make my question clearer, i'm wondering is there is a more efficient way of doing that inter-process communication than piping in the json data via calling the shell with ./cake MyShell |
# |
Dec 5th 2017, 20:34 |
admad |
gn |
# |
Dec 5th 2017, 20:31 |
admad |
thx |
# |
Dec 5th 2017, 20:29 |
inoas |
https://github.com/filamentgroup/loadCSS I am using for http1 loading of nonblocking css |
# |
Dec 5th 2017, 20:28 |
inoas |
obvisouly you need to enable H2 in apache/nginx |
# |
Dec 5th 2017, 20:26 |
inoas |
https://tools.pingdom.com/#!/djcElb/cakephp.org |
# |
Dec 5th 2017, 20:26 |
inoas |
100% on pingdom |
# |
Dec 5th 2017, 20:26 |
inoas |
and for 100% page speed I modify UrlHelper to inject hashes instead of timestamp query strings |
# |
Dec 5th 2017, 20:24 |
inoas |
also I do this... https://gist.github.com/inoas/447cfd73d15c0cf3f0e6cf463a0ee13c#gistcomment-2276851 but mod_pagespeed can do that also |
# |
Dec 5th 2017, 20:23 |
inoas |
if you leave criticism in comments I am ok, but I was trying to help you out on some ideas on http2 + http1 optimization paths for pagespeed/pingdom |
# |
Dec 5th 2017, 20:23 |
inoas |
admad https://gist.github.com/inoas/447cfd73d15c0cf3f0e6cf463a0ee13c |
# |
Dec 5th 2017, 20:22 |
admad |
inoas: pretty please |
# |
Dec 5th 2017, 20:20 |
maneken |
inoas: what do you mean? My server will run all the time along with the cake app |
# |
Dec 5th 2017, 20:19 |
inoas |
admad well I can set it up for you again |
# |
Dec 5th 2017, 20:19 |
admad |
inoas: hey, you deleted that gist, i had only bookmarked it not copied :slightly_smiling_face: |
# |
Dec 5th 2017, 20:17 |
inoas |
but it means your app server needs to run all time persistent |
# |
Dec 5th 2017, 20:17 |
inoas |
websockets will get around that |
# |
Dec 5th 2017, 20:17 |
inoas |
it will need to |
# |
Dec 5th 2017, 20:17 |
maneken |
hmic: Using queue and xhr won't need to poll the server in intervals? |
# |
Dec 5th 2017, 20:15 |
saeideng |
thank you for your point |
# |
Dec 5th 2017, 20:14 |
inoas |
yeah :) |
# |
Dec 5th 2017, 20:14 |
saeideng |
I forgot to add ``` <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> ``` into ssl config |
# |
Dec 5th 2017, 20:14 |
inoas |
:) |
# |
Dec 5th 2017, 20:13 |
saeideng |
:-) |
# |
Dec 5th 2017, 20:13 |
saeideng |
solved |
# |
Dec 5th 2017, 20:13 |
saeideng |
inoas thanks |
# |
Dec 5th 2017, 20:12 |
saeideng |
`<VirtualHost _default_:443>` |
# |
Dec 5th 2017, 20:11 |
inoas |
on your 443 port you have to have the same apache settings as on your 80 port |
# |
Dec 5th 2017, 20:11 |
inoas |
well maybe but that has then to do with virtualhosts |
# |
Dec 5th 2017, 20:11 |
inoas |
=> 404 -> not the ssl issue |
# |
Dec 5th 2017, 20:11 |
saeideng |
I no problem by non-ssl |
# |
Dec 5th 2017, 20:11 |
inoas |
=> ssl warning -> confirm exception |
# |
Dec 5th 2017, 20:11 |
inoas |
open the image asset in a new window |
# |
Dec 5th 2017, 20:10 |
inoas |
ssl would warn you |
# |
Dec 5th 2017, 20:10 |
inoas |
if it is 404 |
# |
Dec 5th 2017, 20:10 |
inoas |
doesnt sound like an ssl problem |
# |
Dec 5th 2017, 20:10 |
saeideng |
``` SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key ``` |
# |
Dec 5th 2017, 20:10 |
saeideng |
my config |