yslow | YSlow analyzes web pages and suggests ways | Performance Testing library
kandi X-RAY | yslow Summary
kandi X-RAY | yslow Summary
YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of yslow
yslow Key Features
yslow Examples and Code Snippets
Community Discussions
Trending Discussions on yslow
QUESTION
When I am testing the site using gtmetrix.com in YSLOW, it shows this message. I don't know how to add expire headers.
There are 2 static components without a far-future expiration date.
http://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900
How can it be solved?
...ANSWER
Answered 2019-Nov-14 at 14:09Unfortunately you can't change the cache expiry headers on these external resources, as you're not in control of the server they're hosted on.
If you want to fix this, you could self-host these webfonts and do a little research on how to set cache headers on them for your type of server (Apache? nginx? Information should be readily available on Google or from your web hosting company if you use one).
Personally, I recommend taking these sorts of metrics with a pinch of salt. Even gtmetrix.com doesn't score perfectly by their own standards. Their worst score is also for the cache settings of google-hosted services.
QUESTION
I'm trying to optimize my website speed according to Google Speed Test and GTMetrix YSlow. One of the recommendation is to "use cookie-free domains", there are 12 components that are not cookie-free.
The 12 components are images and some CSS and JS files.
What is the problem and how to fix it?
...ANSWER
Answered 2019-Oct-24 at 22:07[100% Working]
One of my website I installed NitroPack IO - Performance & SEO Booster Extension.
Before install Extension my website score in Mobile : 27 Desktop : 32
After install Extension score in Mobile : 98 Desktop : 99
I really appreciate this extension and his review is almost very good.
QUESTION
ANSWER
Answered 2019-Sep-16 at 08:49PageSpeed
shows that you have minify your js
and css
Yslow
showing that you have inline
style
and script
on multiple page which can be add in to the external file and then minify for pagespeed
improvement.
QUESTION
I have moved all my static assets to cloudfront.net, and when I view my source code, my CSS and JS and images are already hosted in cloudfront.net. But when I check GTmetrix.com, my use cookie-free domains is still graded F, and my main domain is still showed in the list, instead of cloudfront.
I already cleared my cache, cloudflare cache, browser cache, and all kinds of cache, but Yslow in GTmetrix still doesn't detect that I'm using a CDN (cloudfront.net).
Anyone here who encountered the same problem?
Actual GTMetrix Result: https://gtmetrix.com/reports/www.flyskyjetair.com/SgHBKXsJ
Actual Code: view-source:https://www.flyskyjetair.com/
...ANSWER
Answered 2019-Jul-03 at 06:09If you have the strip cookies and cache cookies options enabled however when running your site through YSlow are still receiving a warning, this is due to a YSlow false-positive. If you set your cookies on the top-level domain (e.g. yourwebsite.com) all of your subdomains will also include the cookies that are set. This also includes your custom CDN URL if using one (e.g. cdn.yourwebsite.com).
However, as long as you have the strip cookies option enabled, even if you receive this warning it will be incorrect. YSlow does not take into consideration that the CDN actually strips the cookie and therefore may continue to throw the error. However, if you run a cURL command on the asset or check it within the Chrome Dev tools Network tab, you won’t see any Set-Cookie headers. Therefore this YSlow warning can be safely ignored. If you are using Cloudflare then you simply won’t be able to achieve 100 on YSlow. Cloudflare appends a __cfduid cookie to every request which cannot be removed due to security reasons.
QUESTION
We have a BigCommerce website that's scoring very poorly in GTMetrix ("E") for PageSpeed and YSlow (https://www.dogids.com). The list of items that are killing our performance are items I know how to easily fix on a WordPress website, but I'm not sure what the limitations are for BigCommerce as it sounds like their platform works more like Shopify in that you're limited to template files.
THE QUESTION If you've developed and optimized a BigCommerce site, could you let me know if these optimizations are possible?
- JS and CSS minification (important)
- Defer JavaScript (important)
- Expiry Headers
- Caching rules
- Optimizing the order of styles or scripts
- Making fewer HTTP requests (45 external calls)
Thank you in advance!
...ANSWER
Answered 2019-May-03 at 19:11- JS and CSS minification (important)
It depends on whether it's part of your theme, or a third party file, what technique you use to minify. You can always minify a resource.
- Defer JavaScript (important)
It depends on how the script is added to the site. Theme, Script Manager, and Footer all support specifying async or defer...
- Expiry Headers
can't be changed
- Caching rules
can't be changed
- Optimizing the order of styles or scripts
full control
- Making fewer HTTP requests (45 external calls)
you can control this to some extent, by combining scripts and stylesheets manually. part of this is a factor of how many external scripts you have from apps, analytics tracking, et al.
Best bang for your buck. Get yourself a good End User Monitoring tool, and use the metrics of how quickly your page is rendered. That's the only metric that matters to a user.
QUESTION
I would like to manipulate data from a database to use it with my bubble chart.
Here is what I did :
1) A data.php file that puts the requested data in JSON format:
...ANSWER
Answered 2018-Jun-26 at 09:51Solved, thank you for your help !
QUESTION
The Cache and ETag thing is driving me insane.
If I change a page and go to it on the browser, the changes I've made aren't there. I have to refresh to see them. That can't be normal. I could have a visitor coming back to my main page and the new article entries not reflecting.
I already tried unsetting the ETags and all that as well.
What can I do so that the contents are indeed cached, but if they have changed since they were saved, the updated version will show?
The YSlow test also gives me this warning: Misconfigured ETags. Which also happens if my htaccess is empty. That suggests it's my host's problem, but the same happens to both of my sites, hosted differently.
This is how my .htaccess looks:
...ANSWER
Answered 2017-Dec-31 at 00:29If your using apache
it looks like you may not have your ETag configuration set properly. Have a look at the ETag
Property in apache
You'll probably want something like
QUESTION
im working on optimizing my website that is hosted on an Apache web server, after working on my css files (combining them in one file ... ) and img alt, optimizing images size and enabling gzip for browsers ,... i got always YSlow Score below to 58% and PageSpeed equal to 80% ,, please need help !
this is my .htaccess file where i put some configuration that i found as a solution on Gtmetrix.com
...ANSWER
Answered 2018-Jan-11 at 17:40i saw the screenshot that you got from Gtmetrix, i think that all is alright with you, and those files are externals,so you can't optimize them :) ! Check other recommendations and try to fix them to get a good YSlow Score, Best Regards Bro :)
QUESTION
We use imagebam, imagevenue, pixhost etc. to serve our blog posts thumbnails but those are slows down our website and its score by pagespeed, gtmetrix. How to optimize those external image host thumbnails? How to add expire headers into them? How to leverage their browser caching?
Here is our score: https://gtmetrix.com/reports/www.vintagepornbay.com/lH6oi2Cc PageSpeed Score (43%) YSlow Score (51%)
...ANSWER
Answered 2017-Aug-06 at 15:53You can't optimise images that you are not serving.
You can use this plugin to bring the images onto your own server.
Then you can Smush to optimise the images.
Then use this plugin to add expires headers.
QUESTION
I test my website on gtmetrix.com it show me the following error to improve my website yslow scrore.
serve static content from a cookieless domain
how to solve this error?
...ANSWER
Answered 2017-May-18 at 13:48You should create some subdomains for example: media1.example.com
, media2.example.com
, media3.example.com
.
Configure those subdomains to point to your website as your main domain does.
In Prestashop backoffice go to Performances
and register your new content domains in the media
area.
Those domains will only be used to serve static content and will never be assigned cookies.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install yslow
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page