Cloudflare experiment

56 Replies, 3169 Views

(02 Aug 2023, 21:04 )Like Ra Wrote: And I will add cache for games.
Done! Available for registered users only.
More side effects:

- possible stale cache. Free tier users can purge the whole cache only.
- SPAMmers can not be identified by IP, as all traffic to the site comes from the CloudFlare addresses.
(This post was last modified: 02 Aug 2023, 21:24 by Like Ra.)
(02 Aug 2023, 20:34 )Like Ra Wrote: Whoa...... Looks like I've just "hacked" MyBB attachment system.... All attachments are cached now

And this is the result:

 cloudflare_24h_band_20230803_014404.png   

Almost everything is cached now and being served from CloudFlare! That's impressive!
(02 Aug 2023, 21:12 )Like Ra Wrote:
(02 Aug 2023, 21:04 )Like Ra Wrote: And I will add cache for games.
Done! Available for registered users only.

After this I can no longer play bubbles on my Apple powerbook.
The message is
 Screenshot 2023-08-03 at 11.56.30.png   
Could it be that an executable for another OS is sitting in the cache?

BTW: I appreciate your efforts very much. Things like this are unavoidable.
(This post was last modified: 03 Aug 2023, 11:02 by Zooy.)
(03 Aug 2023, 11:01 )Zooy Wrote: After this I can no longer play bubbles on my Apple powerbook.
I cleaned the cache yesterday after upgrading Ruffle - apparently something's stuck. I discovered, that it's possible to clean the cache by the URL - no need to purge everything.

And then we have a hierarchy of caches ...
OK, let's list all the steps to update Ruffle.

- Download new version from https://ruffle.rs/#downloads
- Remove the old one, upload new files
- Stop apache, remove all cached files, start apache
- Check the page source for the combined JS URL
- Purge all related URLs from CloudFlare cache
https://www.likera.com/lib/ruffle/package.json
https://www.likera.com/lib/ruffle/ruffle.js
https://www.likera.com/lib/ruffle/ruffle.js.map

Let's see if it's complete...
(This post was last modified: 03 Aug 2023, 21:06 by Like Ra.)
(03 Aug 2023, 15:35 )Like Ra Wrote: OK, let's list all the steps to update Ruffle.

- Download new version from https://ruffle.rs/#downloads
- Remove the old one, upload new files
- Stop apache, remove all cached files, start apache
- Check the page source for the combined JS URL
- Purge all related URLs from CloudFlare cache

Let's see if it's complete...

And now it works again.
Great work!
And now it doesn't.
Looks like you opened quite a can of worms.....
Here's a shortcut for you: https://www.likera.com/forum/mybb/games....espeed=Off
(This post was last modified: 03 Aug 2023, 21:03 by Like Ra.)
Ah, found! package.json should be removed from the cache!

OK, now I know what needs to be done. I think ...
(This post was last modified: 03 Aug 2023, 21:07 by Like Ra.)