JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Mar 27, 2023 14:40:46 GMT -8
Hi everyone! This is a general question to others coders out there... In terms of pulling content from external servers, what provider do you use? Because I'm currently struggling with mine. I'm not sure if this is a problem with my coding or if the provider itself is unreliable. Some of my information pages on site require HTML over UBBC, but obviously the H&Fs and custom pages, have their limit for content. I've previously used this plugin to help, but that also has it's size limitations. To avoid this issue I have some of my information stored on a an external server with a div ID to pull that content onto the site. For ExampleThis page: aeipathyrp.com/board/477Uses this code: <div id="insert_ccb"></div> Which talks to this code (in my Forum Wrapper): <script> $.get('https://aeipathyrp.glitch.me/a_ccb.html', (data) => {
$('#insert_ccb').append(data);
}); </script> Which pulls from the a_ccb page in my Glitch server. Only... it only seems to do it half the time. I can't seem to find a pattern as to when and how but, sometimes the content loads on the page. And sometimes it just doesn't. Is there a glitch somewhere in my coding that is making this retrieval temperamental, or is Glitch just glitching? And, if it's the later, does anyone have a recommendation for a different external server provider that I can use, which is more reliable? Many thanks, JD
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 27, 2023 15:19:00 GMT -8
A quick look at glitch shows me that the free tier has a feature to maximize saving precious server resources. Some posted workarounds (https://support.glitch.com/t/wake-my-glitch-up/26596) also suggest that using them can get you banned. I have nothing to recommend since I've rarely tried my hand at backend stuff, but I've heard good things about Google's Firebase which is reportedly free until you've grown to a certain number of users.
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 27, 2023 15:38:45 GMT -8
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Mar 28, 2023 3:00:17 GMT -8
A quick look at glitch shows me that the free tier has a feature to maximize saving precious server resources. Some posted workarounds (https://support.glitch.com/t/wake-my-glitch-up/26596) also suggest that using them can get you banned. I have nothing to recommend since I've rarely tried my hand at backend stuff, but I've heard good things about Google's Firebase which is reportedly free until you've grown to a certain number of users. Ugh! I can't believe I didn't even know this was a thing. I feel stupid. Thanks, Chris! I'll look into whether the Pro is worth it
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Mar 28, 2023 3:00:46 GMT -8
Thanks Kami! If the Glitch Pro turns out not to be worth it, I will definitely check out these guys - I appreciate the recomm. <3
|
|