Jump to content

ptprog

Members
  • Posts

    537
  • Joined

Recent Profile Visitors

5,073 profile views
  1. In my setup, the CSS resources referenced in the head are loaded in parallel with a CSS that is preloaded (editor.css), so my expectation was for the preload to not have impact. In a quick experiment, I did not see any difference in how the CSS was loaded (CSS is queued and starts a few ms after the editor.css, which is preloaded, regardless of whether all the CSS uses preload). Based on my understanding of the preload, I would not expect it to harm performance, but I also do not expect it to help. The idea of the preload is to load in advance resources that the browser would not be aware of otherwise (e.g. resources that are not referenced in the HTML directly from the beginning, like it seems to be the case of the editor.css or the fontawesome). But for the "normal" CSS, the browser will see that the resources need to be loaded at the same time without the preload.
  2. Was there any development on this? There are dozens of CKEditor files currently not being served by the CDN.
  3. When using a rule of type "Reaction is given", what is the meaning of the milestone? For example, if we set it to "It is their 10th reaction", will the rule be applied: When a specific post receives the 10th reaction? When a user receives the 10th reaction considering all posts? When a user gives the 10th reaction considering all posts? Other? In other words, is the milestone for the user giving the reaction, or for the receiving user? And do we count the reactions on a specific post, or for all posts? (I actually think all the variants should be supported, but for now I'm wondering which one is currently implemented.)
  4. Do you mean to send or to receive emails? You can use Amazon SES to send emails for any email address you own (you just have to configure your email client with Amazon SES SMTP server data). If you also want to receive email in a "normal" email client, you will need more than Amazon SES. You can use Amazon WorkMail, for example to receive emails (but there are cheaper options for receiving emails).
  5. You should use a separate service for that. Then you can use Amazon SES for sending the emails, which should be the cheapest solution you can get.
  6. Ok, so you certainly have spare memory available on you server 😄 You should try Redis. If you have some analytics solution, you should be able to monitor the evolution of the performance on your site.
  7. I haven't looked in detail about how IPS uses cache (e.g. how expensive to compute are the values cached), but with the reduced number of options we have now, and assuming you have spare memory available, I expect Redis to be a safe bet. IPS can achieve very high cache hit ratios. So, my expectation is that using cache will improve performance. Since now using cache requires using Redis for data storage, I would be surprised if any other data storage option was better. Again, I'm assuming you have spare memory in your server. Also, as @Thomas P mentioned above, using Elasticsearch for search may be a better change to start with. Out of curiosity, what is the current size of you DB?
  8. From what I can see, in recent versions you either use Redis for "Data Storage Method", or you won't be able to select any "Caching Method" (i.e. to use Redis as "Caching Method", you also need to use Redis as "Data Storage Method"). So, I guess Redis is the way to go.
  9. Regarding hosting providers, I have been using Linode for a couple of projects, and I'm happy with their service. You also have Amazon Lightsail and Vultr with similar prices. If you are going to use a VPS and manage it yourself, you can easily configure Lets Encrypt from command line. This should take less work than buying a certificate.
  10. My terminal supports UTF-8 chars, and I could see emojis on the posts that still had the emojis. But just in case this was an issue with a specific emoji, I also used the MySQL HEX function to see the hexadecimal representation of the char stored and confirmed it was a plain "?". It looks like this bug is known for 4 years: https://jira.mariadb.org/browse/MDEV-11777 (but there is no mention to it in the function documentation). Time to consider going back to MySQL...
  11. My problem is not with some browsers not showing emojis. My problem is with having a "?" char (0x3F) stored in the database instead of an emoji. Meanwhile I think I was able to trace the source of the issue based on the posts affected. I used a REGEXP_REPLACE query to remove some data from posts, and it seems the REGEXP_REPLACE does not handle some UTF-8 characters properly. Time to try to recover the data from a backup 🙂
  12. I'm indeed using the native ones. I never really looked into the difference between native and Twitter, but now I see how the Twitter ones provide more reliability. This is something I need to discuss internally, as it should prevent losses of data. I still don't think this totally explains the issue I'm seeing, though. I would expect that if somebody is able to type an emoji, then his OS should be able to send it to the server (we could have problems with quotes or C&P, but they should be uncommon).
  13. There was no move of database in the past years, and the last failure is on a post from two weeks ago. There was also no recent change on DB configs, so maybe some periodic task is causing this. I need to recover older backups to confirm this.
  14. I just noticed that I have a bunch of posts where emojis where replaced with a question mark. I already double checked the database setup, and the correct encoding seems to be used everywhere. Moreover, in a few test posts I created, emojis were created fine. Has anybody else experienced the same issue? Any idea of what is the cause?
×
×
  • Create New...