YAFLogo

rai
  • rai
  • 100% (Exalted)
  • YAF Commander Topic Starter
5 years ago
I am using the YAFNet to post new beta builds of software. These builds can be 200MB. When I have made such a post the post is slow loading. It makes me wonder if you load attached attachments to memory or similar? It seems a bit unnessary and will take both time from users and db (my files are stored in db).

You can see a page here:

https://www.visualcron.com/forum.aspx?g=posts&t=9797 

Thanks

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
5 years ago
No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.

rai
  • rai
  • 100% (Exalted)
  • YAF Commander Topic Starter
5 years ago

No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.

Originally Posted by: tha_watcha 

For various reasons it is not possible to switch to file system. I think the big question is why you try to load the file bytes before anyone clicks download - if it is a file? I mean, I understand if it is an image but why do you do this if this is a file?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
5 years ago

No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.

Originally Posted by: rai 

For various reasons it is not possible to switch to file system. I think the big question is why you try to load the file bytes before anyone clicks download - if it is a file? I mean, I understand if it is an image but why do you do this if this is a file?

Originally Posted by: tha_watcha 

Yes you are right. This issue will be fixed with the next update 2.30.02

rai
  • rai
  • 100% (Exalted)
  • YAF Commander Topic Starter
5 years ago

No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.

Originally Posted by: tha_watcha 

For various reasons it is not possible to switch to file system. I think the big question is why you try to load the file bytes before anyone clicks download - if it is a file? I mean, I understand if it is an image but why do you do this if this is a file?

Originally Posted by: rai 

Yes you are right. This issue will be fixed with the next update 2.30.02

Originally Posted by: tha_watcha 

Sounds great! Thanks