Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2004
    Posts
    41
    Plugin Contributions
    0

    Default Re: Performance Issues - Stopgap Solution

    Hello,

    I've just tried this and it's dropped my page parse times substantially. I would recommend it to anyone who is suffering from a lack of resources.

    Parse Time: 2.752 - Number of Queries: 417 - Query Time: 0.1318254763031
    vs.
    Parse Time: 0.278 - Number of Queries: 271 - Query Time: 0.082182839813233

    Parse Time: 0.858 - Number of Queries: 329 - Query Time: 0.11570456744385
    vs.
    Parse Time: 0.265 - Number of Queries: 262 - Query Time: 0.072043928604126

    I'm going to be applying this caching scheme to other areas of my cart, perhaps the category menu?

    Thanks!

  2. #2
    Join Date
    Dec 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Performance Issues - Stopgap Solution

    I am desperately trying to use this as a solution to speed up my installation of ZenCart on Dreamhost, at the very least as a temporary workaround until I move the store to an approved and faster host.

    I have finally gotten PEAR installed and the code above does not throw errors when trying to load the site; that is, until this morning it was not locating the Cache_Lite files to load up.

    Now that the files can be found (had to modify the include_path), nothing seems to be any faster on the site. How can I know that the PEAR cache is being used and functioning properly? Is there any kind of test I can run or snippet of code that will produce some output to verify?

    Any help is appreciated.

    Thanks,
    Armen

  3. #3
    Join Date
    Dec 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Performance Issues - Stopgap Solution

    As an update, I believe I have solved my problem and the caching is working for me now.

    A note to folks who are doing this on a shared hosting account and following the original poster's instructions:

    1) Make sure you use fully qualified path names wherever you need to provide a path, including in the PHP source code sample above.

    2) Make sure that you have write permissions on the directory you're asking the Cache_Lite to cache into. In the sample code above the poster used /tmp/ which I didn't notice until tonight; as a shared hosting user I do not have write access to that folder on the server. Just change that path into a fully qualified one to some folder you create in your user folder. Something like ~/pear_tmp/ *without* the tilde.

 

 

Similar Threads

  1. v150 Strange performance issues
    By joem83 in forum General Questions
    Replies: 4
    Last Post: 19 Sep 2012, 02:54 PM
  2. Performance issues w/ storefront/homepage? Maybe...?
    By jbherri2 in forum General Questions
    Replies: 12
    Last Post: 28 Jan 2010, 10:37 PM
  3. Cache and Performance issues
    By GreggShort in forum General Questions
    Replies: 5
    Last Post: 29 Jul 2007, 09:41 PM
  4. Performance / Speed Issues
    By websightdesign in forum General Questions
    Replies: 1
    Last Post: 20 Dec 2006, 05:57 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