Jump to content
Search Community

Scrolltrigger Airpods Pro type site - hosting question / advice please?

newguy123 test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Hi Guys

 

This is more of a general hosting question, and not so much necessarily a GSAP specific question. We built a site based on the GSAP Airpods Pro scroll sample. Our site however loads around 900 frames, and not 147 like the Airpods example.

Now the problem. We tested on 2 different hosting providers. The one provider, loads the files just fine, but the other comes up with a bunch of 508 and 404 errors, even though the files are there. In contacting the hosting provider support, they say there is nothing they can do as their servers are setup with brute force attack protection. Essentially when loading the site, its pulling so many resources that the server thinks its being attacked, and then blocks the requests, resulting in only half the site loading.

 

This is specific to a single hosting provider, and as I say, a different hosting provider does not have this probem at all. Unfortunately the provider that works fine, is not in UK, and we would need one based in the UK.

 

Any recommendations or general advice?

 

Link to comment
Share on other sites

Nope, that is nothing we can help with.

 

You could look in to creating a video and then scrubbing the video with ScrollTrigger, but that has its own challenges and will require a deep knowledge of video formats and encodings. Which is also not a  GSAP question, but it could fix your brute force issue, because you just load one file instead of hundreds. But again these are no GSAP questions, so please keep the forum guidelines in mind!

  • Like 1
Link to comment
Share on other sites

  • Solution

Hi,

 

One option is to create a single or just a few sprite sheets and load those instead of hundreds of single images. That shouldn't trigger the protection measures of the provider but it would require a bit of extra work in terms of using the images since using one or more spritesheets changes the way this is approached.

 

If you want to create a video here is a thread where appropriate video compression is discussed:

https://gsap.com/community/forums/topic/33683-scrolltrigger-to-play-back-video-is-laggy/

 

Happy Tweening!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...