Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

On webserver SLIR shows random images #24

Open
ghost opened this issue Mar 5, 2014 · 9 comments
Open

On webserver SLIR shows random images #24

ghost opened this issue Mar 5, 2014 · 9 comments

Comments

@ghost
Copy link

ghost commented Mar 5, 2014

Hi,

I installed SLIR on my local server and everything works fine.
So I uploaded the site to the webserver but every time I refresh the page, all images are replaced with random images (from the cache I guess). Very strange.
Any clue?

I deleted the content of the slir cache folder. The pictures are recreated, but behaviour after refresh stays the same.

Should I check a certain PHP setting on the webserver? Because all other files and settings are unchanged.

Many thanks in advance!

@fiorez
Copy link

fiorez commented Oct 23, 2014

Hi Rvissers !
I'm trying to use SLIR on a project and i'm having your same issue.
I'm trying to create pictures inside a PHP loop, everything is fine with the old SLIR but with SLIR 2.0 it's ok only the first time, after the images are cached i guess, it all start to mess up..

Do you know a way to fix it ?
I tried to set false the public static $enableRequestCache variable with no results :-(

PS: i had to look at Installing #14 issue and Comment the first 2 lines as Archia said in order to properly install it.

@ghost
Copy link
Author

ghost commented Oct 24, 2014

Hi Fiorez,

 
I wasn’t able to solve it and stopped with using SLIR.

 
 
Good luck!

 
Roy

 
Van: fiorez [mailto:[email protected]]
Verzonden: donderdag 23 oktober 2014 23:39
Aan: lencioni/SLIR
CC: Roy Vissers
Onderwerp: Re: [SLIR] On webserver SLIR shows random images (#24)

 
Hi Rvissers !
I'm trying to use SLIR on a project and i'm having your same issue.
I'm trying to create pictures inside a PHP loop, everything is fine with the old SLIR but with SLIR 2.0 it's ok only the first time, after the images are cached i guess, it all start to mess up..

Do you know a way to fix it ?
I tried to set false the public static $enableRequestCache variable with no results :-(

PS: i had to look at Installing #14 issue and Comment the first 2 lines as Archia said in order to properly install it.


Reply to this email directly or view it on GitHub.

@fiorez
Copy link

fiorez commented Oct 24, 2014

Oook ;-)

Thanks anyway for your time Roy !

ByE!

@mjau-mjau
Copy link

This server happened to be Aruba?

@fiorez
Copy link

fiorez commented Mar 18, 2016

Hi! Thanks for replying on this old post.. Yes the web server was an Aruba
one ;-)
Il 18 mar 2016 7:16 AM, "Karl Ward" [email protected] ha scritto:

This server happened to be Aruba?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#24 (comment)

@mjau-mjau
Copy link

@fiorez interesting ;) thanks for the reply. I just did hours of diagnostics, and it seems only this host produces this issue. It outputs some intermediately cached files. Below is a reference to my diagnostics, although I assume it's not useful to you any more. Hopefully the host will look at the issue. Thanks for replying.


This problem gets stranger and stranger. I have uploaded a simple image:

Chrome (incognito without cache)

Firefox:

Opera:

What happens if I force refresh the request? It loads the correct image in all browsers.

Chrome:

Firefox:

Opera:

So why is it loading seemingly RANDOM image initially? How is that even possible that the same link shows different results? Why does the image correct itself when force-refreshed? This is essentially a mystery, but clearly some intermediate caching from your server. Conclusion: When we force-refresh, the browser is instructing your server to actually fulfill the true request (bypassing some intermediate, dysfunctional caching), where as you can see, X3 is doing it's duties correctly and serving the requested image.

Only this server does this.

@vboa68
Copy link

vboa68 commented Mar 18, 2016

thx Karl for your support!
@fiorez: did you contact aruba for your issue? what did they answer?
thx
Vincenzo

@fiorez
Copy link

fiorez commented Mar 18, 2016

Back in those days..i didn't event try to contact the Aruba support because
the old SLIR was fully working..so i decided to stick with the old one. I
was working on a small project just for fun ;-)

I wonder if they know or already have a solution to this problem :-D

@mjau-mjau
Copy link

Likely the old SLIR was working because it didn't cache images and requests. Aruba is somehow outputting random images from the SLIR cache on request, until hard-refresh URL.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants