Results 1 to 8 of 8

Hybrid View

  1. #1

    Default Re: Exclude css and javascript from home page?

    Hi DrByte,
    If you're talking about the combining stylesheets post, it did deliver gains, I'm just after more!

    My web host has recently switched mySQL query caching on and done some other tuning work for me but my home page can still take 4 or 5 seconds to load first time in which I want to reduce.
    Once inside the site, each page only takes 1 or 2 seconds to load presumably because of caching?

    I'm new to all this (the php I've learned is thanks to Zen Cart and I've only been using Zen Cart for a few months) but wanted to share the css/js combination technique I'd learned in case it was useful to anyone else.
    I've been given loads of help by kind people such as yourself on here so just wanted to give something back.

    You're right in that I do have lots of individual universal stylesheets because of the mods I've added.
    My idea as far as the home page goes is to only load what I need.
    If it doesn't reduce the load time significantly, I'll put it back as it was.
    I'm kind of grabbing at straws in my attempt to make my home page load as quickly as possible!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Exclude css and javascript from home page?

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3

    Default Re: Exclude css and javascript from home page?

    Yeah, done all that.
    I've done as you suggested and started looking at moving my universal js and css to page specific if I can.
    Hopefully I'll be able to do something there :)

 

 

Similar Threads

  1. CSS Exclude for home page?
    By completespray in forum General Questions
    Replies: 4
    Last Post: 1 Oct 2011, 10:45 PM
  2. Customizing home page with javascript
    By brokenbird in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Aug 2011, 04:52 AM
  3. JavaScript and CSS issues
    By krastley in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Apr 2011, 09:03 PM
  4. Exclude sideboxes from home page only?
    By Vood in forum General Questions
    Replies: 13
    Last Post: 14 Feb 2008, 11:08 PM
  5. customizing and removing product from home page
    By katandmouse in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Aug 2007, 06:45 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