Pagespeed

Posted in: Newspaper
Post count: 35

Anyone else having trouble with the visual composer after the update to WP 3.9.1 with the above mentioned htaccess settings? It seems to be a problem in the compression code:

RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule (.*)\.html$ $1\.html.gz [L]
RewriteRule (.*)\.htm$ $1\.htm.gz [L]
RewriteRule (.*)\.js$ $1\.js.gz [L]
RewriteRule (.*)\.css$ $1\.css.gz [L]
AddEncoding x-gzip .gz

ExpiresActive On
Header set Cache-Control “public”
ExpiresDefault A1209600
ExpiresByType text/javascript A300
ExpiresByType text/css A300
ExpiresByType image/gif A300

After I remove these lines it works perfectly again. But also brings my pagespeed score from 96 to 34 :/:/:/ wtf:(

Anyone a tip? Thanks in advance!

Post count: 9544

Those are not codes I use, so can’t really help, sorry except the suggestion:

You should usually do a “resave” of your permalinks structure after every major WP update just out of paranoia, has been my experience. This redoes the rewrite of the WordPress specific code for your htaccess file specific to your site.

You might try my expires code found in this thread, instead. 🙂

Post count: 35

Thanks Christopher,

what codes are you using for the compression in your .htaccess? And what tools are you using to resave the permalinks structure? Thank you!

Post count: 9544

serginial

1) scroll back up several posts (in this thread) to see my list – you may want to read through this thread which has a ton of info on speeding up your site before posting at the end of it, where most things people need to get going are already explained in detail 🙂

2) setting your permalinks is a built in feature of WordPress .. basically just go back to your wp admin > settings > permalinks — and then press the “save” at bottom again; this will rewrite your redirects in your htaccess file for mod_rewrite in case they got munched by another plugin or update or whatever

http://codex.wordpress.org/Using_Permalinks

Post count: 60
Post count: 76

Well Christopher after all that any editing of the .htaccess would be pointless. This was a reply from my hosting provider

because our system is built on NGINX and not Apache, we do not use the .htaccess file for anything. Making changes to it will not affect the site in any way

Post count: 9544

Yes, as noted in my original posts, we’re running Apache.

Nginx requires different syntax. Perhaps somebody else can help with that.

SO this means you need to work with your hosting provider to ensure proper expires headers, caching settings, etc., or ask them what file to edit for your particular hosting setup.

eg.

Nginx virtual host configuration file:

 location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
 expires 1y;
 log_not_found off;
 }
Post count: 5

Hi Chris, does that htcaccess code work on litespeed? I’m very new to this.

Post count: 9544

@gmaarie
Hi… we use Apache for compatibility with widest range of applications, and because we have dedicated server so we can run Apache for some stuff, Nginx for others, multiple versions of php, etc.

I’ve only used Apache the past 20 years on the web for our servers, and so I am likely zero help whatsoever on other platforms. Usually you can simply Google something like “setting expires headers for wordpress on litespeed” or something like that, and see what pops up.

Nice thing is with the “alternative” platforms, a lot of people are using them with WordPress and are breaking the trail on that stuff.

🙂

Post count: 2

Hi there,

Why the result pagespeed isn’t like your demo?

Check my install
http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.revistacarros.blog.br

I can see, everyone are having the same problem, could you show us the correct solution?

Post count: 69

why we have these differences? I have same problem. How can do my website performance like on demo page?

check my website stats:

http://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.sanalsantiye.com&tab=mobile

Thanks.

  • This reply was modified 12 years by maxu.
Post count: 69

*Please delete this post.

  • This reply was modified 12 years by maxu. Reason: double submit
Post count: 9544

@fabriciosahdo

you need to optimize your site for optimized images, caching, use the tagdiv speed booster plugin, expires headers, etc. The theme cannot fix your content or your website or hosting, these are things you need to do.

See the documentation, and also read through this entire thread to get a better understanding on how you can improve your site performance.

https://forum.tagdiv.com/how-to-make-the-site-faster/

Post count: 2

@Christopher Simmons,

Sorry, I am not developer.

When I buy a theme is because apparently everything will be as shown in ThemeForest.

In this case, the theme does not come in the way that you are selling on ThemeForest (optimization setting).

If you can not help me with optimizing the way you sold me, I want my money back and still notify the ThemeForest about your product.

Thx

Post count: 9544

@fabriciosahdo
I don’t work here, just trying to be helpful.

No theme can help you optimize your hosting, or web server setup. No theme can optimize the content you’re uploading automatically. No theme can customize the settings needed for your htaccess or nginx config file. These are things YOU need to do in optimizing your or any WordPress-based website.

Just like the demo shows an example of how your site might look, YOU still have to configure it to your needs.

A theme is only a set of content styles running on top of your WordPress install, which is running on top of your domain account, which is running on top of the web server setup.


You should contact the theme developer for any refund issues.

You may want to hire a WordPress developer if many of the elements of managing a WordPress site are new to you. You should definitely explore how PageSpeed works for a better understanding of what is involved, as you will need to optimize your system with *any* theme you choose to use.

  • This reply was modified 12 years by simchris.
Post count: 76

Another important factor is your web hosting provider. I don’t wish to drop names in this forum but I moved from a shared web host to Managed WordPress Hosting and my site seriously improved in loading times! They also set up CDN and it’ll make a difference!

Post count: 780

@fabriciosahdo – please consider moving to a more powerful server and also read this thread to optimize your hosting account / configurations. We sell the exact code that is on our demo (100% the same) the difference is that our server is configured well.

It is very hard to get 90+ on pagespeed and the server configuration, all the plugins and ads influence the score. I personally invested over three weeks to optimize all the aspects of the theme to run as smooth as possible. On top of that Marius spent a lot of time optimizing all the resources.

The server response time at your end is not good: http://screencast.com/t/F32WTB4M5HoC this means that the server is not powerfull enought to deliver a page on time. It may be that you are not using a caching plugin (like the one we recommend – w3 total cache) it may also be from the fact that php is running with no opcache.

please contact me via email contact@tagdiv.com (add FOR RADU in the subject and a link to this thread in the email) I can send you the full amount paid for the theme back. I can also help you out to make it faster if you are on a vps or dedicated server. If you are on a shared host there is nothing I can do to optimize the server. I would also recommend that you test your server with another similar theme.

  • This reply was modified 12 years by Radu.
Post count: 7

##EDIT## Please notice that after double checking my website could not be viewed on mobile. at least not mine so I did have to unplug it. If someone with experience here have solution then please share.

Hi all,
My first comment. I´m not a PRO so please correct me if needed.
I have been trying so many things to speed my site up and first it was only 50+.
I did make it goes to 73 on desktop today but then after research I found this magic plugin ” far future expiration plugin”
Now my site show 67 mobile AND
100 / 100Suggestions Summary for desktop
Congratulations! No issues found.

Hmn.. I´m sure if that can be true but my site is fast on my desktop at least.

Sorry I don´t want to share my link here but just try it yourself ( the plugin )

  • This reply was modified 12 years by Thor.
Post count: 7

according to yslow my site get:
Grade C Overall performance score 76

Grade F on Make fewer HTTP requests:
This page has 17 external Javascript scripts. Try combining them into one.
This page has 15 external stylesheets. Try combining them into one.
This page has 10 external background images. Try combining them with CSS sprites.

Grade C on Reduce DNS lookups:
The components are split over more than 4 domains

Post count: 9544

@THOR
for testing actual speed you likely need to turn off some of the external elements like social media plugin, advertising, etc.

Try testing with GTMetrix instead as it will SHOW you where the problems are and how to fix.

Also, rather than set expiration headers with plugin, you can do magic with the .htacess file settings I note in this forum (not for use with nginx). Much more efficient.

  • This reply was modified 12 years by simchris.
Post count: 7

Thanks Christopher. I will try GTMetrix

Post count: 7

GTmetrix give me A for page speed. Can that be true ? If so Im doing something correct

Page load time: 0.43s
Total page size: 30B
Total number of requests: 1

Post count: 9544

Be sure to load an actual article page, not just a page with a YouTube video or something.

30B for an entire page seems wrong.

Post count: 555

I’ve just removed all sliders from my site and my page went from 5mb to 2mb and my score went up to over 82% with all my test i done…sliders slow down your site really bad and for mobile phones is worst..sliders look good on sites but they really put a lot on your site and make it very slow also those social networks that showing counters those make ur site very slow as well…it take me weeks to get my score up and my site load down by removing things that just make my site too slow on mobile devices and slider was one that do that…

CloudFlare play a big role in my score as well because it really help ur site to be very fast,i show my images because i want people to see it’s not the theme that make ur site fast etc it’s all the other stuff you add too ur site that make it very slow,and one more thing that can do a lot too ur site is the “HTML5 Boilerplate .htaccess Optimization” if you don’t used it start it will do wonders to ur site.

GTmetrix Test

SEO CHECK

HTML5 Boilerplate .htaccess Optimization

Start using this guys you will see big results..take my tips and you will get the same scores as what i show off my own site…

my site is @ http://jahliveradio.com take a test run and see for ur self…

  • This reply was modified 12 years by Steven.
Post count: 7

@Steven
Awsome,
how do you use HTML5 Boilerplate .htaccess Optimization ?
I´m new to that part

Viewing 25 posts - 101 through 125 (of 339 total)
You must be logged in to reply to this topic.