[Systems] Changes not being reflected at sugarlabs webserver.

Bernie Innocenti bernie at codewiz.org
Wed Jan 7 18:00:14 EST 2015


Overwriting files in-place can run into problems if the server sets
headers for aggressive HTTP caching (long expiration, no revalidate, etc).

As a workaround, you could create a new file with a different name and
update the links.

On 01/06/2015 01:44 AM, Basanta Shrestha wrote:
> It is okay now. I did cleared browser cache by pressing ctrl+ f5 earlier
> and even tried on my colleague's computer. Now it works. Thanks anyway ?Sam.
> -Basana 
> 
> On Tue, Jan 6, 2015 at 12:18 PM, Sam P. <sam.parkinson3 at gmail.com
> <mailto:sam.parkinson3 at gmail.com>> wrote:
> 
>     Hi Basanta,
> 
>     That appears to be the same hash as on the server, as well as the
>     file I was able to download.
> 
>     Maybe you could try refreshing your browsers cache?  Pressing F5
>     should force the reload in FireFox and Chrome.  I doubt that that
>     will solve the issue, as this file is not configured to be cached.
> 
>     Are you using any proxies (eg. Cloudflare) on your domain?
> 
>     Thanks,
>     Sam
> 
> 
>     On Tue Jan 06 2015 at 4:23:17 pm Basanta Shrestha
>     <basanta.shrestha at olenepal.org
>     <mailto:basanta.shrestha at olenepal.org>> wrote:
> 
>         Hi Sam, 
>         Thank you for your quick response. Not only that but the
>         thumbnail on the main page hasn't changed as well. Anyway here
>         is the hash of the file 
>         fdda9cf32fa76145dad53790f7f91525558499a2aa8f4b8bd86ec0a6a421c54bcc4045c5267000481dbbdadf44bf9a000b2b1ae18acea5fbbfe881a8819459ac
>          ole_program_districtsCS3.swf
>         Thank you,
>         Basanta 
> 
>         On Tue, Jan 6, 2015 at 10:28 AM, Sam P.
>         <sam.parkinson3 at gmail.com <mailto:sam.parkinson3 at gmail.com>> wrote:
> 
>             Hey Basanta,
> 
>             I just had a look, and they copy I was able to download was
>             exactly the same as the copy available on the server.
> 
>             Can you send the hash of the original file?  Just run this
>             in your (linux) terminal:
> 
>                 sha512sum path/to/project/ole_program_districtsCS3.swf
> 
>             Thanks,
>             Sam
> 
>             On Tue Jan 06 2015 at 2:26:53 pm Basanta Shrestha
>             <basanta.shrestha at olenepal.org
>             <mailto:basanta.shrestha at olenepal.org>> wrote:
> 
>                 HI,
>                 I am trying to update our coverage map at olenepal.org
>                 <http://olenepal.org> hosted on sugarlabs.org
>                 <http://sugarlabs.org>. The changes are not reflected. I
>                 am getting this 
>                 http://olenepal.org/ole_program_districtsCS3.swf
> 
>                 Whereas it should have been 
>                 http://www.olenepal.org/ole_program_districtsCS3.swf
> 
>                 Looks like, it needs some cache clearing at the server.
>                 Please help. 
> 
>                 Regards,
>                 Basanta. Shrestha. 
> 
>                 -- 
>                 Basanta Shrestha
>                 Program Manager
>                 Open Learning Exchange (OLE) Nepal
>                 Tel: +977.1.5544441 <tel:%2B977.1.5544441>, 5520075
>                 Cell: +977.9818 605110
>                 http://www.olenepal.org
>                 _________________________________________________
>                 Systems mailing list
>                 Systems at lists.sugarlabs.org
>                 <mailto:Systems at lists.sugarlabs.org>
>                 http://lists.sugarlabs.org/__listinfo/systems
>                 <http://lists.sugarlabs.org/listinfo/systems>
> 
> 
> 
> 
>         -- 
>         Basanta Shrestha
>         Program Manager
>         Open Learning Exchange (OLE) Nepal
>         Tel: +977.1.5544441 <tel:%2B977.1.5544441>, 5520075
>         Cell: +977.9818 605110
>         http://www.olenepal.org
> 
> 
> 
> 
> -- 
> Basanta Shrestha
> Program Manager
> Open Learning Exchange (OLE) Nepal
> Tel: +977.1.5544441, 5520075
> Cell: +977.9818 605110
> http://www.olenepal.org
> 
> 
> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
> 


-- 
 _ // Bernie Innocenti
 \X/  http://codewiz.org


More information about the Systems mailing list