+ Reply to Thread
Results 1 to 10 of 10

Thread: HowTo compressed html code for better page speed

  1. #1
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421

    HowTo compressed html code for better page speed

    Hi @ All

    To compress the html code and optimize the loading time of the pages makes the following change
    Go to folder libs -> smarty and open Smarty_Compiler.class.php

    Find the follow code @ line ~ 426

    PHP Code:
    Only registered members can view the code
    Above this code paste following lines

    PHP Code:
    Only registered members can view the code
    Save and Close.

    Now go via ftp to Folder tmp -> compile and delete all php files.
    Please do not delete the .htaccess file!

    OK login to admin panel and go to Common -> Refresh.
    Press all Buttons -> Recount, Rearrange, Update and Update.


    Now the pages are created with compressed html code.
    Thats all...


    Best regards
    Steffen

  2. #2
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    A lot of goodness being shared here, thank you.
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  3. #3
    Hello Steffen,

    Would you please explain me what is better after compressed html?
    html size less 5-10Kb or more or what? explain to me and other people please.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hello Viktor,

    If many visitors visit a page, the traffic will be higher.
    It all adds up. Any reduction reduces traffic.
    Slightly better page speed also there is the further.

    It is still not optimal.
    Have also tried javascript to compress, but that resulted in problems.

    Best regards
    Steffen

  5. #5
    Hi all,
    I'm using Google Page Speed which could be a plugin for Flynax if they find it interesting or your host as it is an open-source Apache HTTP server module. It will reduce load and makes your page run faster. I have the ability to use also static and dynamic cacher but Google Page Speed is far better.
    I provide you with a very useful link where you also can read about it -->https://developers.google.com/speed/pagespeed/mod

    //Morgan
    Free Advertising at Fyndklippet.se


  6. #6
    Thank you Steffen Buschkemper . Good advice
    Last edited by Ionut Barabasa; August 4, 2013 at 09:16 PM.

  7. #7
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    Quote Originally Posted by Ionut Barabasa View Post
    Thank you Steffen Buschkemper . Good advice
    Hi Steffen
    Did you do anything Javascript parsing?

    http://www.flynax.com/forum/showthre...=7155#post7155

  8. #8
    Junior Member
    Join Date
    Jan 2017
    Location
    Brasil
    Posts
    23
    thanks for sharing

  9. #9
    Thank you for this information. It worked. In Pagespeed Insight i had a recommendation to reduce the size of HTMl and now that disappeared
    Last edited by Ionut Barabasa; September 2, 2017 at 09:21 PM.

  10. #10
    I must share this info with those who have multi language site.This improvement will work nice with one language site but in multilanguage in Admin area when editing a listing everything will be a mess.All langauges form will apear one under another and will not be like before when changed pressing the tab.

+ Reply to Thread