Proxy Issues #2

Open
opened 2023-11-05 17:14:14 -05:00 by brooke · 1 comment
Owner

poor performance in portland

Expected behavior

snappy image loading, at least 2 seconds of loading time for first load and then 0.5-1 second of loading time after caching.

Description

the StP website is loading incredibly slowly, and images are often failing to display.

The issue seems to stem from image proxies, so when an image is embedded it goes through the local xenforo cache instead of linking directly to the image:

Proxy:

https://squattheplanet.com/proxy.php?image=https%3A%2F%2Fwww.messynessychic.com%2Fwp-content%2Fuploads%2F2017%2F10%2FDSC01643_XeniaNikolskayaDust_Egypt_Architecture-930x691.jpg&hash=7a77862122cf8ca72b5e89cc3832858a

Original:

https://www.messynessychic.com/wp-content/uploads/2017/10/DSC01643_XeniaNikolskayaDust_Egypt_Architecture-930x691.jpg

Possibly a Xenforo issue, need to investigate more

## poor performance in portland ### Expected behavior snappy image loading, at least 2 seconds of loading time for first load and then 0.5-1 second of loading time after caching. ### Description the StP website is loading incredibly slowly, and images are often failing to display. The issue seems to stem from image proxies, so when an image is embedded it goes through the local xenforo cache instead of linking directly to the image: **Proxy:** ``` https://squattheplanet.com/proxy.php?image=https%3A%2F%2Fwww.messynessychic.com%2Fwp-content%2Fuploads%2F2017%2F10%2FDSC01643_XeniaNikolskayaDust_Egypt_Architecture-930x691.jpg&hash=7a77862122cf8ca72b5e89cc3832858a ``` **Original:** ``` https://www.messynessychic.com/wp-content/uploads/2017/10/DSC01643_XeniaNikolskayaDust_Egypt_Architecture-930x691.jpg ``` Possibly a Xenforo issue, need to investigate more
brooke added the
Kind/Bug
Status
Need More Info
Priority
Low
labels 2023-11-05 17:14:14 -05:00
brooke changed title from poor performance in portland to Poor performance 2023-11-05 17:14:22 -05:00
brooke changed title from Poor performance to Proxy Issues 2023-11-12 14:40:55 -05:00
Author
Owner

Not a performance issue, this seems to have been an issue with docker being unable to write IP tables and thus not being able to access the internet. The proxy assumes that it can curl images and save them in the cache but if it's unable to create it's own outgoing rules then it can't access the internet.

This may help with #1

_Not_ a performance issue, this seems to have been an issue with docker being unable to write IP tables and thus not being able to access the internet. The proxy assumes that it can curl images and save them in the cache but if it's unable to create it's own outgoing rules then it can't access the internet. This may help with #1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stp/forum#2
No description provided.