22437 Posts in 7073 Topics by 2750 members
|Go to End||Next >|
3 March 2009 at 11:36am
Normally the cache will write to /tmp/ if your user does not have permission to write to /tmp/ I think it just doesn't keep a cache. If you have a silverstripe-cache folder it will use this instead of your /tmp/ directory
3 March 2009 at 11:40am
Where should the /tmp/ directory be? I don't see it in the root and don't see it while browsing through the sub folders.
3 March 2009 at 12:10pm
I think you have to create the tmp directory yourself.
i created the alternate- it works,
IS 2.23 and has one file in the cache folder and in that file there are hundreds of lines of database stuff.
Is 2.3 version, but in the cache folder I see hundreds of files with very little code inside them, all the same!
Both have their moments still of loading slow. Seems like whenever I come back after an hour or so, the page initially loads up slow then every other link is fast.
3 March 2009 at 12:15pm
OK, great. I'll create the directory and assume 777 should be the permissions. With about a 20 second lag time upon the initial load and occasionally when viewing pages, I'm really looking forward to trying this out.
3 March 2009 at 12:26pm
Things are going nice and fast! I created the /tmp/ directory first and nothing was being put inside of there, so I created the /silverstripe-cache/ directory and that worked perfectly.
scaphis, you really helped me out. I can't thank you enough.
30 March 2010 at 5:42am
I am getting 40sec load times, so I changed the mysql_connect to mysql_pconnect and nothing changes. I added the silverstripe-cache folder to the root and it is loaded with the cache files, but the screen displays nothing now. any suggestions?
30 March 2010 at 5:56am
Did you try doing the flush=1 thing after creating the cache folder? I haven't used SilverStripe for a while, so I can't give you more clearer instructions.
30 March 2010 at 4:58pm
I was having huge load times waiting for my site to respond. I was waiting upwards of 40-60 seconds, I made the /silverstripe-cache/ folder in the same level as my /mysite/ folder (root level).
This cut LOADS of time off the sever responses. Now im waiting less then 3 seconds for the page to respond and load up.
On a similar topic does anyone have advice on speeding up AJAX responses? My site is at patrickarlt.com. This first one always takes several second to load up, Then all subsequent ones are really fast.
|Go to Top||Next >|