Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to setup cache in Q2A 1.8?

+1 vote
97 views
asked Mar 8 in Q2A Core by Gurjyot Singh
In previous versions we needed to create qa-cache folder out of the location of Q2A source files. But in Q2A 1.8, the source files have a qa-cache folder with them. So what should be done this time??
Q2A version: 1.8

1 Answer

+1 vote
answered Mar 8 by ProThoughts
selected Mar 8 by Gurjyot Singh
 
Best answer

It is same as before, now only change is you can have cache dir inside q2a dir. well, if you want you can still have this dir outside www/html dir.

1. add path in qa-config.php file , like /var/www/html/urq2a/qa-cache/

2. go to admin panel and enable cache.

thats all. I enabled in a same way on site https://meta.question2answer.info

commented Mar 8 by Gurjyot Singh
Thank you for the answer. It worked as you said. :)
commented Mar 10 by Scott
I'd still suggest putting the cache directory outside the public directory if possible.
commented Mar 11 by Gurjyot Singh
Then what should be done @Scott? Should we leave the current qa-cache folder where it is right now and make a new qa-cache folder outside of source files location? Or should we move the folder itself and then change the path in qa-config?
...