For about 15 minutes, I've been searching for information as to why deleting my cache folder improved loading time from six-twelve seconds to around 700ms. Unfortunately, I could not find this information on the forum or using the search on the top right corner. I'm writing here so this information gets indexed by google, in case someone else runs into this problem. I repeat, my loading time went from 6-14 seconds to 700ms. This is HUGE. It's important this gets documented here and on the forum.
I've been working on my game for about two months. In that entire time, I never deleted the cache folder, so its size grew from around 500kb to 38mb. I have the cache folder that was causing the slow loading times backed up, and I can reproduce the problem now by merely copying it back to the cache folder. Copying this cache into a new project produces the same slow loading times.
I hope this helps someone. Gonna share this information on the forum as well. Can anyone speculate as to why this happened? Isn't the cache supposed to improve loading times? Note: I've gone through quite a few different ren'py versions, including using experimental builds, perhaps that is a factor?
1. Back up your cache folder: game\cache.
2. Then delete the contents of the game\cache folder.
Hopefully that improves your loading time. It did for me!
[FYI] Deleting my cache folder improved loading times from 6-13 seconds to 700ms.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- GlitchyReal
- Newbie
- Posts: 17
- Joined: Mon Apr 09, 2018 12:28 am
- IRC Nick: GlitchyReal
- Deviantart: GlitchyReal
- Contact:
Re: [FYI] Deleting my cache folder improved loading times from 6-13 seconds to 700ms.
Thank you, I'll make a note of this!
I'm a writer first, artist second, and a programmer... somewhere else. (I'm learning!)
Check out my work here!
http://www.DeviantArt.com/GlitchyReal
Support my work here!
http://www.Patreon.com/GlitchyReal
Check out my work here!
http://www.DeviantArt.com/GlitchyReal
Support my work here!
http://www.Patreon.com/GlitchyReal
Who is online
Users browsing this forum: No registered users