Results 1 to 5 of 5

Thread: Caching system for fast page loads has problems

  1. #1
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Caching system for fast page loads has problems

    Yesterday i enabled the caching system for fast page loads at "/include/smarty/libs/Smarty.class.php"
    Code:
     /**
         * This enables template caching.
         * <ul>
         *[*]0 = no caching
         *[*]1 = use class cache_lifetime value
         *[*]2 = use cache_lifetime in cache file
         *[/list]
         * @var integer
         */
        var $caching         =  1;
    But there are many problems with the pages. As you can see at alotporn.com the script do not show:
    • -the rating
      -tags
      -video submitter
      -e.t.c


    Also the script do not cache the pages were the videos are playing. This mean that the cache system has no sense.

  2. #2
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Caching system for fast page loads has problems

    To be perfectly honest, caching the templates (which is what this code does) is pointless. From a load perspective, it doesn't matter whether or not you are pulling from the actual template or from the cached version. The end result will be that a file on the server is sent from one location to another. If you have a high-load site (such as yours and, even mine at some point of its life), template caching isn't going to give us any help here.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #3

    Default Re: Caching system for fast page loads has problems

    Nice site RAMMSTEIN,

    I've tried the page caching too and it didn't help at all. Hey, can you share your my.cnf? my mysql is running at over 150% and I have a high end dedicated with 8GB of RAM

    thanks
    TopFreaks.com/index.php - Free Black Porn

    BootyCallFriends.com - 100% Free Booty Call Friends Finder

  4. #4
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: Caching system for fast page loads has problems

    Quote Originally Posted by bplex
    template caching isn't going to give us any help here.
    Yes that is true there is a need of all page caching without enter again to the php code. If there was i way caching the pages that the videos are showing it will be grate.

  5. #5
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: Caching system for fast page loads has problems

    Quote Originally Posted by topfreaks
    Nice site RAMMSTEIN,

    I've tried the page caching too and it didn't help at all. Hey, can you share your my.cnf? my mysql is running at over 150% and I have a high end dedicated with 8GB of RAM

    thanks
    Thank you, I have also speed problems i just changed the SQL connections to 400 but i still have problems. :(

Similar Threads

  1. Caching system for fast page loads
    By RAMMSTEIN in forum Feature Requests
    Replies: 6
    Last Post: 10-22-2008, 07:47 AM
  2. i need some sort of layer or msg 2 confirm age b4 site loads
    By Spaniard7886 in forum Template Modifications
    Replies: 1
    Last Post: 07-15-2008, 06:49 AM
  3. 3GP video Plays too fast
    By mblakeceo in forum Bug Reports
    Replies: 0
    Last Post: 04-14-2008, 06:46 PM
  4. Re: Video Play Too Fast!
    By apj5621 in forum Fixed Bugs
    Replies: 2
    Last Post: 09-26-2007, 03:35 PM
  5. 3 big bugs- need help fast!!!!!!!!
    By j68stone in forum Fixed Bugs
    Replies: 3
    Last Post: 08-01-2007, 10:36 AM

Bookmarks

Posting Permissions

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