New Posts
Welcome guest, is this your first visit?
  • Login:
HighPulsePoker.com Affiliate Program
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Site load times

  1. #11
    MPC
    MPC is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Canada Eh?
    Posts
    1,376
    Blog Entries
    20
    Feedback Score
    8 (100%)

    Default

    Question about specifying image dimmensions: If an image should load at 100x100 for example, I always created the image at that size thinking I wouldnt' need to specify heigh and width. Wouldn't adding the height and width parametters in the IMG tag re redundant in this case? How is it better?

  2. #12
    Bingolady
    My Status
     

    Add as a friend
    Join Date
    Jan 2009
    Location
    In a galaxy far, far away
    Posts
    87
    Feedback Score
    0

    Default

    Quote Originally Posted by MPC View Post
    Question about specifying image dimmensions: If an image should load at 100x100 for example, I always created the image at that size thinking I wouldnt' need to specify heigh and width. Wouldn't adding the height and width parametters in the IMG tag re redundant in this case? How is it better?
    Not redundant because when a browser starts to load your page if you don't specify image dimensions then it has to calculate it while loading the page making your page looks like it is "jumping around" while the browser draws everything. And after the images are downloaded it has to "re-draw" the page again.

    You can find here more info:
    Optimize browser rendering
    USA bingo
    UK bingo sites
    "Its great to see that Hugh Heffner isn't the only one building and running his empire in his PJ's!" -SeoPants@AGD

  3. #13
    MPC
    MPC is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Canada Eh?
    Posts
    1,376
    Blog Entries
    20
    Feedback Score
    8 (100%)

    Default

    My site uses Thesis to manage my custom themes. Thesis just confuses me! lol! That was probably not the best option when I had the template made, but I didn't know any better. I can add all my stuff into one css file, that's easy. But I can't figure out how I can remove the various stylesheets I won't need anymore. Thesis is weird.

    edit: found it
    Last edited by MPC; 03-04-2010 at 09:23 PM.

  4. #14
    Member
    My Status
     

    Add as a friend
    Join Date
    Oct 2009
    Location
    Dresden
    Posts
    53
    Feedback Score
    3 (100%)

    Default

    Hey MPC,

    can you please tell us where you found it?

    Thanks

  5. #15
    MPC
    MPC is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Canada Eh?
    Posts
    1,376
    Blog Entries
    20
    Feedback Score
    8 (100%)

    Default

    Certainly! From your thesis folder, go into lib/classes/head.php and look for:

    PHP Code:
    function stylesheets() {
            global 
    $thesis;

            
    // Main stylesheet
            // $date_modified = filemtime(TEMPLATEPATH . '/style.css');
            // $styles['core'] = array(
            //    'url' => get_bloginfo('stylesheet_url') . '?' . date('mdy-Gms', $date_modified),
            //    'media' => 'screen, projection'
            // );

            // $date_modified = filemtime(THESIS_LAYOUT_CSS);
            // $styles['layout'] = array(
            //    'url' => get_bloginfo('template_url') . '/layout.css?' . date('mdy-Gms', $date_modified),
            //    'media' => 'screen, projection'
            // );
            
            // $styles['ie'] = array(
            //    'url' => THESIS_CSS_FOLDER . '/ie.css',
            //    'media' => 'screen, projection'
            // );

            // Custom stylesheet, if applicable
            
    if ($thesis['style']['custom']) {
                if (
    file_exists(THESIS_CUSTOM '/custom.css'))
                    
    $date_modified filemtime(THESIS_CUSTOM '/custom.css');
                
                
    $styles['custom'] = array(
                    
    'url' => THESIS_CUSTOM_FOLDER '/custom.css?' date('mdy-Gms'$date_modified),
                    
    'media' => 'screen, projection'
                
    );
            } 
    Comment out the lines for those CSS files you don't want (in orange above).I just copied all that CSS stuff into my own custom css. Also, I copied a few images from theses/images to thesis/custom/images. That way I didn't have to bother adjusting all the URLs in the thesis core css files.

  6. #16
    MPC
    MPC is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Canada Eh?
    Posts
    1,376
    Blog Entries
    20
    Feedback Score
    8 (100%)

    Default

    Check out this easy to use css compressor. It's just a web form. Past your current CSS code in, hit the button and it spits out a compressed version of your code. Clean CSS - A Resource for Web Designers - Optmize and Format your CSS

  7. #17
    MPC
    MPC is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Canada Eh?
    Posts
    1,376
    Blog Entries
    20
    Feedback Score
    8 (100%)

    Default

    Interesing page on css sprites. CSS Sprites: What They Are, Why They’re Cool, and How To Use Them | CSS-Tricks

    Also useful is this firefox add-on that can crawl your sitemap.xml and tell you what CSS selectors are not used in your site. Easy way to clean up the excess CSS: Dust-Me Selectors

  8. #18
    Member
    My Status
     

    Add as a friend
    Join Date
    Mar 2009
    Location
    Asia
    Posts
    98
    Feedback Score
    1 (100%)

    Default

    Great work, MPC, I'm sure your research is useful to a lot of people. Keep it up, and please do feel free to ask any questions if I can be of any help.

  9. #19
    MPC
    MPC is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Canada Eh?
    Posts
    1,376
    Blog Entries
    20
    Feedback Score
    8 (100%)

    Default

    For those interested, I created a blog post that explains all the tweaks I did. see http://www.pokeraffiliatelistings.co...r-website.html


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Clearing Media Library - Increase Load Speed?
    By KevinMcC in forum Wordpress - Web Design - Coding - Technical
    Replies: 8
    Last Post: 12-18-2009, 04:10 PM
  2. How Many Times FFS!
    By doovde in forum PAL Suggestions - Questions - Feedback
    Replies: 4
    Last Post: 11-20-2009, 03:44 PM
  3. Translator Takes Long time to Load
    By pokerprop in forum PAL Suggestions - Questions - Feedback
    Replies: 13
    Last Post: 10-28-2009, 08:56 PM
  4. SPAMED 173 times in a day!!
    By gooderpoker in forum PAL Coffee Shop
    Replies: 3
    Last Post: 06-24-2009, 09:52 PM
  5. Favicon's That Don't Load
    By Chuck in forum General Poker Affiliate Forum
    Replies: 9
    Last Post: 03-02-2009, 06:58 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
Powered by vBulletin® Version 4.1.5
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0
Affiliate Program Consultant
Live threads provided by AJAX Threads (Lite) - vBulletin Mods & Addons Copyright © 2012 DragonByte Technologies Ltd. Runs best on HiVelocity Hosting.