| Previous · Next | |
| User | Message |
|
AP
|
Date: 8/27/2007 7:40 am · Subject: Cache Problem · Rating: 6
Hi We are using WebGUI. 7.3.18. We have a one major problem. If we edit a old page, the changes do not appear unless the ctrl +F5 is used ! We don´t want to tell evrybody to do that (and we can´t). I can se in the header is metatags used but it seems not working. <meta http-equiv="Pragma" content="no-cache"> Is any magig solution to this ?
--- (Edited on 8/27/2007 7:40 am [GMT-0500] by AP) --- |
| Back to Top |
Rate [ | ]
|
|
roryzweistra
|
Date: 8/27/2007 7:56 am · Subject: Re: Cache Problem · Rating: 8
As far as i know ctrl + f5 is a feature that deletes the cache in the browser. So that said, you need to look for a solution that is browser independable. I know that you can tell your browser to not cache anything (at least Firefox, but I do think that IE has a feature like this) --- (Edited on 8/27/2007 7:56 am [GMT-0500] by roryzweistra) ---
For Firefox it's called the webdevelopers toolbar and you can download it via the add ons section --- (Edited on 8/27/2007 7:57 am [GMT-0500] by roryzweistra) --- --- (Edited on 8/27/2007 8:20 am [GMT-0500] by roryzweistra) --- |
| Back to Top |
Rate [ | ]
|
|
roryzweistra
|
Date: 8/27/2007 8:27 am · Subject: Re: Cache Problem · Rating: -8
I just found an article that explains why the pragma cache sometimes doesn't work. The problem is that IE only stops caching when the buffer of 64kb is filled. Because the head section is on the beginning of the document the buffer still is empty. The solution for this is placing another head section at the end of your webpage. So then you have something like this <html> <head></head> <body> </body> <head> <!--no cache--> </head> </html> --- (Edited on 8/27/2007 8:27 am [GMT-0500] by roryzweistra) --- |
| Back to Top |
Rate [ | ]
|
|
AP
|
Date: 8/28/2007 4:01 am · Subject: Re: Cache Problem · Rating: -3
Hello roryzweistra Thanks for your suggestion. I have tried to put a extra <head> in the template but it dosen´t work. It looks like that on bottom of the template: </body> Any more suggestion ? thanks --- (Edited on 8/28/2007 4:01 am [GMT-0500] by AP) --- |
| Back to Top |
Rate [ | ]
|
|
xootom
|
Date: 8/28/2007 4:38 am · Subject: Re: Cache Problem · Rating: -6
I've noticed a cache problem too, I'm using 7.4.4. I just went onto a machine to test my site using IE6, and everything I'd been on before, a couple of weeks ago, was showing the old version, though I've completely redesigned the site since. "Check for newer versions of stored pages" is on Automatically, which has always been ok on every other website I've been on. Most of my assets are set to a 1 hour cache, but I presume this is the WebGUI server-side cache rather than metadata settings for the browser. This is worrying because, it seems to me that every user using IE6 will see the version of the site they first looked at. It even hasn't refreshed SQL reports that are set to not cache. --- (Edited on 28-08-2007 10:38:25 [GMT+0100] by xootom) --- |
| Back to Top |
Rate [ | ]
|
|
AP
|
Date: 8/29/2007 4:48 am · Subject: Re: Cache Problem · Rating: 1
Hello I don't believe that´s no solution for this problem. That's not good for WebGUI ! Is perhaps something that can be done in the Apache Server that force the browsers to get the page from the server ?
Please --- (Edited on 29-08-2007 10:48 [GMT+0100] by AP) --- |
| Back to Top |
Rate [ | ]
|
|
guiuser
|
Date: 8/30/2007 2:51 am · Subject: Re: Cache Problem · Rating: 5
We have the same problem with WebGUI 7.3.22!!! Please WebGUI Team help help help!!!--- (Edited on 8/30/2007 2:51 am [GMT-0500] by guiuser) --- |
| Back to Top |
Rate [ | ]
|
|
guiuser
|
Date: 8/30/2007 3:53 am · Subject: Re: Cache Problem · Rating: -3
Found a quick fix for our problem: Find WebGUI.pm and comment lines 133 -137 and line 139 Reference: http://www.webgui.org/bugs/tracker/cache--if-modified-since --- (Edited on 8/30/2007 3:53 am [GMT-0500] by guiuser) --- |
| Back to Top |
Rate [ | ]
|
|
AP
|
Date: 8/30/2007 5:17 am · Subject: Re: Cache Problem · Rating: 3
BINGO Thank you very very much quiuser, It works. I don't know if I have got any new bugs with this solution ! Thanks AB --- (Edited on 30-08-2007 11:17 [GMT+0100] by AP) --- |
| Back to Top |
Rate [ | ]
|
|
guiuser
|
Date: 8/30/2007 6:24 am · Subject: Re: Cache Problem · Rating: 5
I don't know it either, but i do not think so!?!--- (Edited on 8/30/2007 6:24 am [GMT-0500] by guiuser) --- |
| Back to Top |
Rate [ | ]
|