OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Google PageSpeed Tools
#37663
dejansoftware (User)
Expert Boarder
Posts: 132
graphgraph
User Offline Click here to see the profile of this user
Google PageSpeed Tools 1 Year, 6 Months ago Karma: 0  
Hi,

I was running PageSpeed Tools on my site
https://developers.google.com/speed/pagespeed/insights/

and I got very bad results, mostly because not well optimized files:

css
image
js
MANIFEST

with recommendation how to fix them and at the botom, option to Download optimized image, JavaScript, and CSS resources for this page https://developers.google.com/speed/pagespeed/insights/ just type my site.

This is very important for google ranking Algorithm and needs to be solved.

First thing I would like to do is to replace all files with those that google provided in link above.
QUESTION 1: some of the files are related to your component, CAN I REPLACE IT?

QUESTION 2: How can we Enable compression on component, because I switch on compression on joomla?
QUESTION 3: How can we fix all other suggestions that Google proposes?

Thanks
Dejan
 
Logged Logged  
 
Last Edit: 2018/04/20 12:57 By dejansoftware.
  The administrator has disabled public write access.
#37684
admin (Admin)
Admin
Posts: 6637
graph
User Offline Click here to see the profile of this user
Re:Google PageSpeed Tools 1 Year, 6 Months ago Karma: 76  
Dear Dejan

Please check
www.joomlart.com/tutorials/joomla-tutori...mla-site-performance

and

www.keycdn.com/blog/speed-up-joomla/

Please be very careful, after every step please check how works site.
Very often optimization plugins kill site.

Regards
Andrew
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#37692
dejansoftware (User)
Expert Boarder
Posts: 132
graphgraph
User Offline Click here to see the profile of this user
Re:Google PageSpeed Tools 1 Year, 6 Months ago Karma: 0  


Thanks for that.

I just need help from you how to optimize OrdaSoft part of website.

I need to ENABLE COMPRESSION of:

Compressing /…_realestatemanager/includes/jquery-ui.js could save 162.7KiB (73% reduction).
Compressing /…s/freeestate/bootstrap/css/bootstrap.css could save 110.4KiB (85% reduction).
Compressing /…atemanager/lightbox/js/jQuerREL-1.2.6.js could save 92.7KiB (71% reduction).
Compressing /…m_realestatemanager/includes/animate.css could save 66.2KiB (93% reduction).
Compressing /….min.js?704af0d38aaed42c87f9a3d4aebb8f6d could save 61.9KiB (65% reduction).
Compressing /…emplates/freeestate/javascript/jquery.js could save 61.1KiB (65% reduction).
Compressing /…temanager/includes/realestatemanager.css could save 54.8KiB (83% reduction).
Compressing /freeestate/bootstrap/js/bootstrap.js could save 47.2KiB (79% reduction).
Compressing /templates/freeestate/css/style.css could save 36.1KiB (85% reduction).
Compressing /…realestatemanager/includes/jquery-ui.css could save 26.5KiB (76% reduction).

I just want to go out from RED color.

Thanks
Dejan
 
Logged Logged  
  The administrator has disabled public write access.
#37700
admin (Admin)
Admin
Posts: 6637
graph
User Offline Click here to see the profile of this user
Re:Google PageSpeed Tools 1 Year, 6 Months ago Karma: 76  
hello

For speed up your site:

Did you enabled compress in joomla global settings ?

Please add below rows to .htaccess file

# 1 year
<FilesMatch ".(ico|pdf|flv)$">
Header set Cache-Control "max-age=29030400, public"
</FilesMatch>
# 1 week
<FilesMatch ".(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
# 2 days 172800
<FilesMatch ".(xml|txt|css|js)$">
Header set Cache-Control "max-age=604800, proxy-revalidate"
</FilesMatch>
# 1 minuto 60
<FilesMatch ".(html|htm|php)$">
Header set Cache-Control "max-age=86800, private, proxy-revalidate"
</FilesMatch>

<IfModule mod_gzip.c>
mod_gzip_static_suffix .gz
AddEncoding gzip .gz
AddEncoding gzip .gzip
mod_gzip_on YES
mod_gzip_handle_methods GET
mod_gzip_temp_dir /tmp
mod_gzip_can_negotiate Yes
mod_gzip_dechunk Yes
mod_gzip_send_vary On
mod_gzip_update_static No
mod_gzip_keep_workfiles No
mod_gzip_minimum_file_size 250
mod_gzip_maximum_file_size 1048576
mod_gzip_maximum_inmem_size 60000
mod_gzip_min_http 1000
mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0[678]"
mod_gzip_item_include mime ^application/pdf$
mod_gzip_item_include mime ^image/
mod_gzip_item_include mime ^application/x-javascript$
mod_gzip_item_include file .js$
mod_gzip_item_include file .css$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include file .html$
mod_gzip_item_include file .pl$
mod_gzip_item_include file .cgi$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_include mime ^application/postscript$
</IfModule>

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/javascript text/css text/html text/plain text/xml application/xml application/xhtml+xml application/x-javascript application/javascript
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On ExpiresByType text/html "access plus 1 days"
ExpiresByType image/gif "access plus 2 weeks"
ExpiresByType image/jpeg "access plus 2 weeks"
ExpiresByType image/jpg "access plus 2 weeks"
ExpiresByType image/png "access plus 2 weeks"
ExpiresByType image/x-icon "access plus 1 years"
ExpiresByType text/css "access plus 2 weeks"
ExpiresByType text/javascript "access plus 2 weeks"
ExpiresByType application/x-javascript "access plus 2 weeks"
ExpiresByType application/x-shockwave-flash "access plus 2 weeks"
</IfModule>

# preserve bandwidth^M
<ifmodule mod_php4.c>^M
php_value zlib.output_compression 16386^M
</ifmodule>

Please check cache and speed optimization extensions from joomla org

Regards
Andrew
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#39544
dejansoftware (User)
Expert Boarder
Posts: 132
graphgraph
User Offline Click here to see the profile of this user
Re:Google PageSpeed Tools 1 Year, 2 Months ago Karma: 0  
Now it is time to add this on my site.

Can you explain a little bit more where should I save this lines of code?

Do you mean just to copy all code and paste it at the bottom of the .htaccess file?

I just can't wait to do the speed test again.

Thanks
Dejan
 
Logged Logged  
  The administrator has disabled public write access.
#39547
admin (Admin)
Admin
Posts: 6637
graph
User Offline Click here to see the profile of this user
Re:Google PageSpeed Tools 1 Year, 2 Months ago Karma: 76  
Dear Dejan

Yes you need copy this to your .htaccess file.

Also you may enable cache and compress on your Joomla site.
But with cache - need to be very careful. You will need recheck from 2 PC. Because some time for one PC this go to cache, but for another PC this show info from cache but with data for PC1

Regards
Andrew
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?