How to deal with Dynamic images on website - css

I have a website that has the functionality of dynamically loading the images. My website is getting slowed down if there are too many images (jpeg files).
How can I deal with such images ?
The website is built in Drupal.
-VJ

There are a few solutions for this type of issue, some of my recommendations are below.
Implement a CDN (Content Delivery Network) for your images, so they are delivered via a high bandwidth server, rather than yours.
Drupal has some useful tools to speed up sites, JS and CSS aggregation might do the trick.
I would recommend using a module called "Imagecache", this will allow you to control the size and quality of images that your users / yourself upload and display on the site.

Related

Optimizing website for desktop version and mobile versions

I'm trying to speed up my website built in using Wordpress.
Caching is enabled for most parts of the site, also I'm using cloudflare to speed it up.
When I ran couple of tests, to check optimization and speed of my site, I had some issues showing up in css sections and some font headers, that took a lot of time to load. Theme that I used for wordpress site was ASTRA theme. However, I am having problems now finding those in my main database, to make corrections.
Domain and hostings are from HOSTGATOR, hatchling plan.
Website page is : healthy-paradise.com
I'm still building up this site.
Anyone to try to help me out and tell, where can I locate these files, folders and directories, to make changes, and what needs to be changes?
Link of picture attached shows files in question..
Best regards to everyone.
first of all you need to understand a few thing about website performances. There is no "perfect" website, getting the 100% on google page speed insight or lighthouse is nearly impossible, but you can get close.
Most of the theme available (free or for purchase) are using what we call "libraries" or "framework" made to ease the development process. The downside of those website is that you're loading more content, tools, code than necessary.
For example your website is using jquery (an heavy js library) and bootstrap (css framework). So you're already losing performances on that end. Usually you can't do anything for that beside properly loading scripts (loading them from the function.php file ... etc).
From what I can see you're losing a lot of performances on your image sizing, this you can control, your images should be optimized for web with proper format, size and dimensions.
One other big thing is that you're not using ssl. which also impact performances.
Anyway I think you should get it now, fix all you can fix, and you should be good.
https://web.dev/measure/?gclid=Cj0KCQjw9IX4BRCcARIsAOD2OB2k4TK53FGVyn-B2ASY_46zmbyHBzUAmI_Cj6UWvHBi9_3jiKbeAKAaAiqTEALw_wcB

How do I host WordPress classified website images on an external source?

I have a classified website pkwhistle.com that is leading multiple countries and has a huge collection of images media. Is there any way to store newly uploaded listing images automatically store outside WordPress and fetch back to my site. clasificadospr.com is the best example of my idea. Because this website is using service which I am actually asking about. It's using the "thumbor" service. Please help me in this matter so I can increase the speed of my website. More than 10thousand images on a website can kill speed.
Well, it's called hosting/loading your images from a CDN, and there are many providers that work nicely with Wordpress!
With 10.000 images you mostly end up with a premium solution such as WP offload Media from Deliciousbrains (highly recommended and I am not in any way affiliated to them, just love their products). They also have a free version.
You can hook it up with all the big assets storage providers (digitalOcean Spaces, Amazon's AWS)
And integration with WP is great, it syncs between the CDN and your Wordpress Library.
Alternatively, there are some free options, you can use photon from Wordpress, it does almost the same, but hosted on photon's servers. It comes with the Jetpack plugin.
Another free option is Cloudinary (they have a plugin as well). But it has a limited free plan.
Good luck!

What Impact will Multiple Minify and Optimizing Plugins have on a WordPress website?

I'm reviewing a WordPress website that has been running for four or five years. The website has a selection of WordPress plugins that they use to optimize the site's page speed, and I have a suspicion that they have just added multiple over time without thinking about the others. The plugins are the following:
Autoptimize: A plugin that concatenates scripts and styles and has some inline and defer CSS features. Good customization settings. Currently active on the site.
Smush Image Compression: Resizes and compresses most popular image formats for websites. Currently active.
Better WordPress Minify: Combines and minifies CSS and JS scripts. Active on the site but only used to minify JS files.
PageSpeed Ninja: Another compression and minification plugin. Is active on the site.
So recently I ran the site through Page Speed Insights and far and away the most recommended suggestion to help the page load faster was server response times. In WordPress they recommend removing unused plugins and I want to reduce the optimization tools down to ideally 2 plugins. I was wondering if anyone here has any suggestions on possible pairings that might work (or have previously worked) well or whether it's just going to be easier to go through every plugin one by one, tinkering with the settings and running tests?
I am open to alternate plugins and strategies. Any wisdom would be appreciated.
A standard bag of tricks would be W3 Total Cache for optimising server response times via caching and minification of CSS and JS.
Smush is ok for image compression (although you will probably need premium for it to be completely useful) but a lot of the time you will find that a theme is not correctly configured to take full advantage of it (they don't offer different image sizes for different screen sizes).
I roll my own image optimiser that does everything locally but most people seem to say that EWWW Image Optimizer gives the most flexibility for free. not a personal recommendation.
You only really need the W3 Total Cache plugin and an image optimiser, beyond that you are into actually learning how to optimise a site properly as all of the other plugins tend to make a mess.

A WP website we are developing is resulting too slow for first visitor.. Any ideas..?

We purchased a WP theme and did some customized changes in php and html
to bring the design where we wanted...
We are almost done with the design of the website and construction
and we are about to deliver to client
but for some reason the website is responding very slow on the first visitor..
and we cannot find the problem, what conflicts with what..
Are there any WP experts in here that could have a look and maybe identify the problem..?
Thank you in advance..
Click here to view the website
Enable gzip compression
Leverage browser caching
Optimize images
Defer parsing of JavaScript
Minify CSS, JS
Analyze your site using GTmetrix and Google PageSpeed Insight, and follow the recommendations that you get from this systems.
It's not that slow? I can get a directory listing from your wp-includes directory just fine. Joking aside, looks like there are two different versions of jquery being loaded in, that's never good for things (view source, line:435) and the homepage makes about 179 requests which is a bit bonkers.
Try a caching plugin. As others have said better configured hosting helps, especially those that use caching technologies such as varnish/redis. A CDN will help with geographic speed. Compress images with WP Smush or similar. Good luck!
There could be multiple issues behind a slow wp website:
Using multiple plugins can slow down a wp website.
A poor web server that is not able to respond quickly.
Some configuration issues.
What i can see is that your website is resource intensive, CSS and JS script files are too heavy, even heavier than all images on the home page.
Try:
Minify the css and js files.
Compress images and the size would come down to less than 1 mb (use tinypng.com)
Use Google page speed to see the flow of the resources of your website and other related details.
Hope this helps.

Improve Website Speed: Uploading files / Post Creation

To give you a little background, I have a website with WordPress as my content management system, which revolves around users uploading panoramic photos. The site is hosted on a small Amazon EC2 instance. After encountering a few days of noticeably slow speeds, I decided to address the issue. In following the suggestions of several speed diagnostic sites (i.e., enabling browser caching, gzip compression, and keep-alive), I was able to increase my scores substantially and speed over basic site usage. Unfortunately the site remains incredibly slow when uploading files as panoramic photos tend to be large in nature. When a user uploads a file, a new post is created with a resized version of the panoramic image, and once complete, the user is redirected to the new URL. Does anyone have any suggestions to expedite this process? Are there any options besides upgrading my server?
The following plugin does exactly that:
Dynamic Image Resizer
Changes the way WordPress creates images to make it generate the images only when they are actually used somewhere, on the fly. Images created thusly will be saved in the normal upload directories, for later fast sending by the webserver. The result is that space is saved (since images are only created when needed), and uploading images is much faster (since it's not generating the images on upload anymore).
The author is WordPress core developer and knows WP code inside out.

Resources