Search Results for 'pagespeed'

Results from the Forum
Steven
tagDiv Member

Yes….i’m using it as well instead of the query strings remover plugins all these plugins slow ur site down and make problems so i found a better way with the other plugin…

Cherry
tagDiv Member

Yeah, installed Super Cache for a short time and then my PS was 60…. also with your options, so I HAD TO reinstall W3 Cache…. uncool.

Any other tip for the htaccess with W3 Cache?

Cherry
tagDiv Member

Ok, slowly 😀

I understand:

I should delete the plugin “query strings remover” and install code snippets? Y/N
When I installed the snippet plugin I have to put the code in the plugin and name it: Query Strings Remover? Y/N
After this I have to click “manage” and then “active”?

“Every time you will like to add some files too ur functions.php used that plugin too do it…”

Everytime I want to insert a code or everytime I install a plugin or other?

Will this help me better with “Remove query strings from static resources?

Or what’s the benefit?

Steven
tagDiv Member

@Cherry removed this from ur .htaccess…

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css “access plus 1 month”
ExpiresByType text/javascript “access plus 1 month”
ExpiresByType text/html “access plus 1 month”
ExpiresByType application/javascript “access plus 1 month”
ExpiresByType application/x-javascript “access plus 1 month”
ExpiresByType application/xhtml-xml “access plus 600 seconds”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 month”
</IfModule>
<ifmodule mod_headers.c>
<filesmatch “\\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “max-age=2592000, public”
</filesmatch>
<filesmatch “\\.(css)$”>
Header set Cache-Control “max-age=604800, public”
</filesmatch>
<filesmatch “\\.(js)$”>
Header set Cache-Control “max-age=216000, private”
</filesmatch>
<filesmatch “\\.(x?html?|php)$”>
Header set Cache-Control “max-age=600, private, must-revalidate”

WP Cache will add some code like that as well and clouldflare also do some of this for you…if you have too many codes doing the same thing u will not see the effects of any thing..and it can also cause problems…

Steven
tagDiv Member

Hey cherry delete that plugin for the “Query Strings” and install this plugin http://wordpress.org/plugins/code-snippets/

after you install the plugin then add this code in the plugin

You going see Add New after you going name it “Query Strings Remover” and in the box add that code below,this code going right in ur “functions.php”

function remove_cssjs_ver( $src ) {
if( strpos( $src, ‘?ver=’ ) )
$src = remove_query_arg( ‘ver’, $src );
return $src;
}
add_filter( ‘style_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
add_filter( ‘script_loader_src’, ‘remove_cssjs_ver’, 10, 2 );

After you add the code go back to the plugin “Snippets” and click manage and you going see what you add hover the name and click active…that’s all to it

Every time you will like to add some files too ur functions.php used that plugin too do it…

Steven
tagDiv Member

My super Cache settings as follow…

1.Cache hits to this website for quick access. (Recommended)
2.Use PHP to serve cache files
3. Compress pages so they’re served more quickly to visitors. (Recommended)
4.Make known users anonymous so they’re served supercached static files.
5.Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. (Recommended)
6.Clear all cache files when a post or page is published or updated.
7.Extra homepage checks. (Very occasionally stops homepage caching) (Recommended)

Expiry Time & Garbage Collection

1.Cache Timeout 60sec
2.Timer: 90secs

that’s all..these settings works great for me…

Steven
tagDiv Member

Right now the only plugin you need is “The theme SpeedBooster” and good cache plugin and leave the rest to cloudflare…

The plugins i’m using right now to better my site in speed and SEO is:

1.WP Super Cache
2.EWWW Image Optimizer
3.Leverage Browser Caching Ninja
4.Noindex Attachment Pages
5.Optimize Database after Deleting Revisions
6.SEO Friendly Images
7.tagDiv speed booster
8.TTT Devices
9.CloudFlare
10. HTML5 Boilerplate optimized performance
11.Code Snippets (TO ADD MY functions.php files) don’t need to go in my theme to add any thing through this plugin i can do it from the admin side..

Cherry
tagDiv Member

ok any setting at super Cache I have to enable?

and it’s WP Super Cache oder WP Super Cache clear all cache?

  • This reply was modified 12 years by Cherry. Reason: add
Steven
tagDiv Member

Give it 24hrs to take effect..you should go with super cache instead W3 Cache..you need a cache plugin always…but that W3 Cache don’t play nice and it make problems…to many things going on in that plugin that u don’t even used…

Ur welcome…

Cherry
tagDiv Member

Oh well big other question by all of that right now:

Now that I have CF and the Plugin for Query Strings…. is W3 Cache still necessary?

Or can I delete this plugin now?

Or should I deactivate : Async JS and CSS settings?

There’s a point with: Remove “?ver=XXX” part from URLs – Enabled….

but as you can see from my GTMetrix- still complaining about my query strings.

  • This reply was modified 12 years by Cherry. Reason: add
Cherry
tagDiv Member

oh ok 🙂

I have to thank you for your great help!

Never made it without your help 😀

Just checked Y-Slow and it says “add expired headers” – I think I already did this oO Why do I get this message?

My htaccess file code to this:

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css “access plus 1 month”
ExpiresByType text/javascript “access plus 1 month”
ExpiresByType text/html “access plus 1 month”
ExpiresByType application/javascript “access plus 1 month”
ExpiresByType application/x-javascript “access plus 1 month”
ExpiresByType application/xhtml-xml “access plus 600 seconds”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 month”
</IfModule>
<ifmodule mod_headers.c>
<filesmatch “\\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “max-age=2592000, public”
</filesmatch>
<filesmatch “\\.(css)$”>
Header set Cache-Control “max-age=604800, public”
</filesmatch>
<filesmatch “\\.(js)$”>
Header set Cache-Control “max-age=216000, private”
</filesmatch>
<filesmatch “\\.(x?html?|php)$”>
Header set Cache-Control “max-age=600, private, must-revalidate”

Weird.

But we will see the next days- how Cloudflare works 🙂

Steven
tagDiv Member

I don’t like W3 CACHE plugin.. i’m using “WP Super Cache” which work better and with out all the headaches..

Cherry
tagDiv Member

Ok deleted the Remove Query Strings Code from the functions.php

The Button in the plugin W3 Cache Plugin for : Update Media Query String is still grey and not usable…

is this correct?

Steven
tagDiv Member

Cloudflare going fixed this for u “Use a Content Delivery Network (CDN)” and ur score going go up after..by tomorrow you should see changes on ur site and score over @ gtmetrix

Steven
tagDiv Member

oh okkk

Cherry
tagDiv Member

Well, I already received the mail hours before with wrong settings lol

Steven
tagDiv Member

Give ur site a hour are so to let clouldflare do they job,you should get a welcome email from them letting you know ur sit is on cloudflare etc..

Congratulations! You have successfully added the website jahliveradio.com to CloudFlare. CloudFlare is a service that makes your website faster, safer, and smarter. To get the most out of our service, we recommend the following resources:

blah blah

Steven
tagDiv Member

Now go back in clouldflare and purge ur site so it clean all the old cache..

Cherry
tagDiv Member

Yeay, ok activated- with rocket loader on automatic?

Steven
tagDiv Member

choose (CDN + FULL Optimization) it not going harm ur site just make it better..lol

Cherry
tagDiv Member

Oh ok, and the IP is correct? 🙂

Steven
tagDiv Member

Now it’s perfect cherry..good job

Steven
tagDiv Member

no you don’t delete nothing in cpanel..that ip is not ur host it’s cloudflare ip that’s why u need to add urs in the A section…

cherrykoks.de A 5 minutes 104.28.21.26 ()
cherrykoks.de A 5 minutes 104.28.20.26 ()
cherrykoks.de MX 5 minutes 0 mxlb.ispgateway.de
cherrykoks.de NS 1 day rihana.ns.cloudflare.com
cherrykoks.de NS 1 day nick.ns.cloudflare.com
cherrykoks.de SOA 1 day nick.ns.cloudflare.com. dns.cloudflare.com. 2015873911 10000 2400 604800 3600
http://www.cherrykoks.de CNAME 5 minutes cherrykoks.de

you have two A OPITIONS that’s why i say delete all the rest u have and only used the first one…

Cherry
tagDiv Member

ok now we have this right here:

http://www.screencast.com/t/o07TJqlhsflZ

is the IP correct?

Also edited the priority on cpanel to 0

by the way: didn’t choose fully optimization because of the Javascript Minify….

the documentation says: no js minfier

  • This reply was modified 12 years by Cherry.
Cherry
tagDiv Member

The IP to Type A is set automatically- I think it’s from the host, which IP has to be in there?

So I just go in there and say:

“delete record”?

and all also delete all cnames plus deactivating them?

But I don’t delete them in cpanel on my host right?

Viewing 25 results - 2,651 through 2,675 (of 3,025 total)