Results 1 to 3 of 3
  1. #1
    Join Date
    January 18th, 2005
    I'm finding takes up to 20 seconds to generate a page. I've enabled caching and set permissions, and my server is on a decent host ( Any suggestions as to what i can check/try? See this example

    Alan Richmond

  2. #2
    Join Date
    January 18th, 2005
    I just changed the cache permissions from 775 to 777 and it seems faster now...

    Alan Richmond

  3. #3
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Toronto, Canada
    With some web server configurations, the amazon-cache directory needs to be set to CHMOD 777 otherwise cannot write to the cache directory. If the cache directory cannot be written to, then has to always fetch data from the internet even if it is the same request.

    You can verify that data is being written to the amazon-cache directory by running your FTP program and looking at the contents of that directory. If you want, you can delete all the *.tmp files in the cache directory using your FTP program, access in your web browser, then refresh the directory in your FTP program (disconnect/reconnect if you have to) -- you should see one or more .tmp files in the directory.

    You can also speed up results if you set the pageSize configuration variable in amazon.ini to 10 (or 20); the factory default is 25. This will cause only 10 (or 20) results to be shown per page. This is faster because XML fetches results data from in blocks of 10 (that's the maximum that Web Services supports). By using 10 (or 20), only one block (or two blocks) have to be fetched; for 25 results, 3 blocks have to be fetched.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. How to avoid speeding tickets
    By Zeus in forum Virtual Family and Off-Topic
    Replies: 10
    Last Post: June 24th, 2010, 08:31 AM
  2. Stopped for Speeding....
    By tbonehwd in forum Virtual Family and Off-Topic
    Replies: 9
    Last Post: May 30th, 2009, 11:55 PM
  3. Replies: 1
    Last Post: September 11th, 2008, 01:58 PM
  4. Need help in speeding up shared hosting
    By sdm in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: April 4th, 2007, 10:09 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