Russell
My feedback
14 results found
-
10 votes
Russell
supported this idea
·
-
18 votes
Russell
supported this idea
·
-
38 votes
Russell
supported this idea
·
-
61 votesplanned · 10 comments · Product Improvements: Flexible » Server Configuration Improvements · Admin →
An error occurred while saving the comment
Russell
supported this idea
·
-
4 votes
An error occurred while saving the comment
Russell
commented
Cloudways uses Let's Encrypt for SSL. I agree with Let's Encrypt's executive director that SSL badges are a bad idea. Take a look at https://community.letsencrypt.org/t/lets-encrypt-badge-for-websites/6863/9
-
5 votes
Russell
supported this idea
·
-
7 votes
Russell
supported this idea
·
-
7 votes
An error occurred while saving the comment
Russell
commented
Here are some examples of how other plugins handle this.
Swift Performance's Exclude URLs text box says:
URLs which contains that string won't be cached. Use leading/trailing # for regexAnd WP Rocket gives an example of
/members/(.*)
And says
The domain part of the URL will be stripped automatically.
Use (.*) wildcards to address multiple URLs under a given path.
Russell
shared this idea
·
-
48 votes
An error occurred while saving the comment
Russell
commented
I wrote a Python script that grabs and charts this info for me. At the center of the script is the following.
grep = 'grep -I' # -I ignores .gz and other binary files # use grep = 'zgrep' for older dates to search through the gzipped files
daystr = day.strftime('%d/%b/%Y')
app_dir = str(site.app_dir).replace('~','$HOME') # It doesn't expand ~ by itself for whatever reason.
search_command = (
'| cut -d[ -f2 ' # split each line into fields, using [ as the deliminator, and grab the second field
'| awk '
'-F: ' # The -F option speficies a separator. We want to get the hour -- the second item of the timestamp -- and so we use a colon as a delimiter
'\'{ split($4, A, " "); ' # Create the array A that will contain the results of splitting $4 (everything after the timestamp) with a space character
'h[$2]+=A[7]; } ' # Create or add to the array h. The key is the hour and the value are the bytes (7th column in our splitted array)
'END ' # What comes next will be processed after running through all of the data
'{ for (i in h) print h[i], i":00"}\' ' # for each hour output the hour followed by how many bytes where recorded for that time
)ssh.check_output(
f'cd "{app_dir}/logs"; '
'LC_ALL=C; ' # Speed things up by using ASCII instead of UTF-8
f'{grep} "{daystr}" *.access.log* ' # search for lines of text containing our date
# hint: for debugging you can use the tail command for quicker searches
+ search_command
)
Russell
supported this idea
·
-
4 votes
An error occurred while saving the comment
Russell
commented
Couldn't you do this with the Cloudways API and WP-CLI.
-
21 votes
Russell
shared this idea
·
-
7 votes
Russell
supported this idea
·
-
209 votes
Russell
supported this idea
·
-
79 votes
An error occurred while saving the comment
Russell
commented
There is a nifty little trick with static apps that can speed WordPress websites up a little. It involves
a special type of static app that uses a symlink to point a website subfolder to this static app. When I was hosting with Webfaction, they would allow me to do this.The idea is that you can make the uploads folder of WordPress (/wp-content/uploads) a symlink to a static app. The WordPress uploads folder only has static resources like images and PDF documents, making it a perfect use-case for a static app. I know I would appreciate the performance gains from the reduced overhead in serving these static resources. Also, I don't know if this applies, but if the default configuration gzips images, that would harmful for performance as well -- jpegs and pngs are already compressed, so gzipping them is only wasting computing power and time.
If it's useful, you can find the documentation Webfaction created for speeding up requests to the uploads folder by using this technique on their platform at https://docs.webfaction.com/software/wordpress/advanced.html
TL;DR
A symlink that places a website's images folder in a static app would increase performance.Edit: Actually since Cloudways already uses Nginx to deliver static assets, there might not be any overhead to delivering static HTML files inside of a PHP app.
Cloudflare just added HTTP/3. I hope Cloudways adds support for this soon. This is in my mind the most important feature that Cloudways should be working on.