Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    30
    Plugin Contributions
    0

    css problem Removing unused CSS script and links

    Our website gotten to be really slow after we cleaned up some crazy askoribbork.iscottish com:8080/OASIS.js scripts in many of our files.

    I ran speed tests on webpagetest.org which pointed to:

    /includes/templates/classic/css/ddlevelsmenu-sidebar.css
    /includes/templates/classic/css/ddlevelsmenu-base.css
    /includes/templates/classic/css/ddlevelsmenu.js
    /includes/templates/classic/css/images/item-secondary-container-bg.jpg
    /includes/templates/classic/css/images/item-primary-bg.gif
    /includes/templates/classic/css/images/item-secondary-bg.jpg

    also its still looking for some old images for product that was removed, but is still trying to load thumbnails for :

    /images/bodyred.jpg
    /images/semitruck.jpg

    One of the images that was erred out was some tile_back.gif image that I simply re-uploaded just so it does not error out.


    All this, is slowing down the site to a crawl (30-90 sec loads), and also the admin site is slow as well.

    I have tried removing some scripts that ask for this CSS but without much success. Some of these testing sites show up to 6 unused style sheet errors.

    can anyone explain it the most basic way on how to get rid of unused style sheets?

    Please, keep in mind that I am not a programmer, but I do follow direction well, and I can copy and paste like nobody's business
    We are using version Zen Cart 1.3.8a and Gzip is set to 1.

    all of the security updates related to this version have been done.


    Thank you

  2. #2
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Removing unused CSS script and links

    Do you have a link to your site please?

    It goes without saying to upgrade to the latest version http://www.zen-cart.com/forum/showthread.php?t=166875 for security reasons as soon as possible.
    Steve
    Site Under Construction: adatglobal.com

  3. #3
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Removing unused CSS script and links

    Right - first and most important your images are the primary cause for slowing your site down. Basically your site is loading big images (which takes a long time) then compressing them.

    Fortunately - there is this must have addon to solve the problem: http://www.zen-cart.com/index.php?ma...roducts_id=117

    Get this installed and you will see an absolute world of difference. Have you been here? 'http://pro-webs.net/blog/2009/03/17/5-easy-things-to-make-zen-cart-cook/
    Steve
    Site Under Construction: adatglobal.com

 

 

Similar Threads

  1. Replies: 1
    Last Post: 14 Apr 2011, 04:50 PM
  2. Remove unused CSS tags?
    By Best Price Accessori in forum General Questions
    Replies: 4
    Last Post: 10 Dec 2009, 09:15 PM

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