Jump to content

Pete T

Founder
  • Content Count

    88
  • Joined

  • Last visited

Community Reputation

7 Neutral

Profile Fields

  • IPS Version
    4.3.x
  • IPS Profile Name
    Pete T

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It might seem a little odd starting a blog on increasing Invision Community's speed with the word "lazy", but I'll explain why this is a good word for performance shortly. Earlier this year, Google announced that page speed is a ranking factor. Simply put, if your site is slow, it will be ranked lower in Google's search results. It is always a challenge making a large application like Invision Community as efficient as possible per page load. A single Invision Community page can pull in widgets from multiple applications as well as a lot of user-generated content with attachments, movies and images used heavily. This is where being lazy helps. Lazy loading is a method by which attachments, embeds and images are not loaded by default. They are only loaded when the viewer scrolls down enough to make them visible. This allows the page to load a good deal faster now it doesn't have to load megabytes of images before the page is shown as completely rendered. I was going to take a fancy video showing it in action, but it's hard to capture as the system loads the media just before you get to it, so it looks fairly seamless, even with sluggish connections. Not the most dynamic image, but this shows the placeholder retains the size of the image We have added this lazy loading to maps and Twitter emoji images. Improving non-image attachments Once we had implemented the lazy loading framework, an area we wanted to improve was non-image attachments. We have listened to a lot of the feedback we had on this area, and have now made it very clear when you add an attachment into a post. We've even returned the download count now it's being loaded on demand. Using attachments when posting All the letters When we first implemented the letter avatars in 4.3, we discussed whether to use CSS styling or use an image. We decided to go with an image as it was more stable over lots of different devices, including email. We've revisited this in 4.4, and switched the letter avatars to SVG, which are much faster to render now that the browser doesn't have to load the image files. Other performance improvements We've taken a pass at most areas with an eye for performance, here is a list of the most significant items we've improved. Several converter background tasks have been improved, so they work on less data Duplicate query for fetching clubs was removed in streams Notifications / follower management has been improved Member searches have been sped up (API, ACP live search, member list in ACP, mentions, etc.). Stream performance has been improved UTF8 conversions have been sped up Elasticsearch has been sped up by using pre-compiled queries and parameterisation, as well as the removal of view filtering (and tracking) HTTP/2 support with prefetch/preload has been added Several PHP-level performance improvements have been made Implemented rel=noopener when links open a new window (which improves browser memory management) Several other performance improvements for conversions were implemented that drastically reduce conversion time IP address lookups now fetch IP address details from us en-masse instead of one request per address Cache/data store management has been streamlined and centralised for efficiency Many background tasks and the profile sync functionality have all been improved for performance Brotli compression is now supported automatically if the server supports it Redis encryption can now be disabled if desired, which improves performance Phew, as you can see, we've spent a while tinkering under the hood too. We'd love to hear your thoughts. Let us know below! This blog is part of our series introducing new features for Invision Community 4.4. View the full article View the full article
  2. Pete T

    plugin Color Picker

    Version 1.0.3

    0 downloads

    About Color Picker for IPS Community Suite 4 is a small plugin that extends IPS4's easy theme builder concept by providing it on a per-user basis directly from the header of your site. The plugin requires no additional loading of resources as it utilizes components already built into IPS Community Suite. Features Per-user color scheme control of your Community Suite Set a default primary & secondary color that all users can revert to Choose the "Edit theme" icon within the header directly from the plugin settings Choose which groups have access Integrated with IPS4 1-click localization

    $4.00

  3. Pete T

    plugin Color Picker

    Color Picker View File About Color Picker for IPS Community Suite 4 is a small plugin that extends IPS4's easy theme builder concept by providing it on a per-user basis directly from the header of your site. The plugin requires no additional loading of resources as it utilizes components already built into IPS Community Suite. Features Per-user color scheme control of your Community Suite Set a default primary & secondary color that all users can revert to Choose the "Edit theme" icon within the header directly from the plugin settings Choose which groups have access Integrated with IPS4 1-click localization Submitter Pete T Submitted 11/11/2018 Category Plugins  
  4. Pete T

    plugin TXT & PHP Widget

    Version 1.0.0

    0 downloads

    This mod will let you add Text, HTML and PHP widget IPS4's blocks. also you can disable PHP widget from Admin CP

    Free

  5. Pete T

    plugin TXT & PHP Widget

    TXT & PHP Widget View File This mod will let you add Text, HTML and PHP widget IPS4's blocks. also you can disable PHP widget from Admin CP Submitter Pete T Submitted 11/11/2018 Category Plugins  
  6. Pete T

    plugin Members Theme in Topics

    Version 2.0.1

    0 downloads

    Will display the member's theme on topics. If the user who is browsing the topic isn't allowed to use a specific theme, will be displayed the default theme name instead.

    Free

  7. Members Theme in Topics View File Will display the member's theme on topics. If the user who is browsing the topic isn't allowed to use a specific theme, will be displayed the default theme name instead. Submitter Pete T Submitted 11/11/2018 Category Plugins  
  8. Pete T

    plugin Clear Cache

    Version 1.0.2

    0 downloads

    This plugin will allow you to clear the cache without having to use the support tool.

    Free

  9. Pete T

    plugin Clear Cache

    Clear Cache View File This plugin will allow you to clear the cache without having to use the support tool. Submitter Pete T Submitted 11/11/2018 Category Plugins  
  10. Pete T

    plugin New Members Today

    Version 1.0.2

    0 downloads

    This plugin allow you see the new members that join your site within given time set by yourself in settings.

    Free

  11. Pete T

    plugin New Members Today

    New Members Today View File This plugin allow you see the new members that join your site within given time set by yourself in settings. Submitter Pete T Submitted 11/11/2018 Category Plugins  
  12. Pete T

    plugin Post Number

    Version 1.0.1

    0 downloads

    This will show the reply number next to the share icon in each post.

    Free

  13. Pete T

    plugin Post Number

    Post Number View File This will show the reply number next to the share icon in each post. Submitter Pete T Submitted 11/11/2018 Category Plugins  
  14. Pete T

    plugin Post to PM

    Version 1.0.2

    0 downloads

    This plugin will allow users to quote a post and send a PM to the author.

    Free

  15. Pete T

    plugin Post to PM

    Post to PM View File This plugin will allow users to quote a post and send a PM to the author. Submitter Pete T Submitted 11/11/2018 Category Plugins  
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.