Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    118
    Plugin Contributions
    0

    Default How to Speed Up My Site?

    I'm currently trying to fix some of the low grades I'm getting from "YSlow" report (firefox/firebug add-in)...
    this has led me to try multiple compression methods for CSS and JS files, as well as get rid of the "ETag" error and include an "Expires" header.

    I can't seem to get ANY of these methods to work though...
    I started with Minify, then onto SmartOptimizer and finally just straight htaccess commands.

    Nothing seems to register.

    This stuff isn't that complicated to setup, but after testing all these methods I'm certain I'm being roadblocked by something...
    either something with ZenCart, or something with my web host (HostGator).

    So why can't I get my CSS and JS files compressed?

    Insight would be appreciated...

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: gzip, minify, smartoptimizer & htaccess...

    You problem isn't with Zen Cart :) guess what that leaves ...
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Feb 2008
    Posts
    118
    Plugin Contributions
    0

    Default Re: gzip, minify, smartoptimizer & htaccess...

    I figured as much, but I don't understand why...
    HostGator is a very open system, they allow quite a bit and seem to have everything I've needed so far (particularly with ZC), already setup.

    Why would they disallow gzip compression on CSS and JC files?
    For that matter, why doesn't ZenCart's use of the gzip function include this feature already?

    Ultimately, why would anyone NOT want to compress these files?
    All I'm trying to do is get my site running faster...which is something that everyone should want.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: gzip, minify, smartoptimizer & htaccess...

    Compressing CSS files is not something in Zen Cart's control. They're served directly from the webserver.

    How big is your CSS that it matters?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Feb 2005
    Location
    Italy
    Posts
    199
    Plugin Contributions
    0

    Default Re: gzip, minify, smartoptimizer & htaccess...

    Hi Kim,

    on a site I'm working over (Lida took a look at it too), the 'gzipping' of css and js would just give an help to improve performances, not so great alone, but you know one byte here one there, putting all together (and multiplying for the 'first-access' visitors), there would be benefit both for the visitors and for the server load and bandwidth consumption.

    So, is there a side effect causing to prefer not to gzip css and js files?

    In the example above, total size of js is 131Kb and css is 194Kb (ok there will be some work to optimize both js and css, but gzipping 'em would be a benefit aswell, or not?)
    Paolo De Dionigi
    Co-maintainer of Zen Cart Italia

  6. #6
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: gzip, minify, smartoptimizer & htaccess...

    194Kb
    For CSS? It is all text! That needs more than just some compression - it needs cleaning. Remove anything that isn't being used, learn the CSS shortcuts and put each declaration on one line.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. How can I speed up my site?
    By boby in forum General Questions
    Replies: 1
    Last Post: 30 Dec 2014, 06:19 AM
  2. v139h Speed up the Back end Orders speed and DB Size questions
    By explorer1979 in forum General Questions
    Replies: 0
    Last Post: 28 Aug 2012, 02:40 AM
  3. Site Speed...my code or my server?
    By Beama in forum General Questions
    Replies: 4
    Last Post: 5 Sep 2009, 01:21 AM
  4. How to speed my site?
    By Mikado in forum General Questions
    Replies: 6
    Last Post: 16 Dec 2007, 12:26 PM
  5. Speed of Site and Admin
    By LadyBubs in forum Basic Configuration
    Replies: 8
    Last Post: 22 Jan 2007, 03:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg