FFY00 / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Add a no-cache example #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Run your application and then close msie.exe on which we run application.
2.Again start msie.exe

What is the expected output? What do you see instead?
In this case I can see the previously run page which I run last, after that I 
did changes in my application so next when I run msie.exe, it should give me 
fresh run (not old cache stored contents).

What version of the product are you using? On what operating system?
V10 on Window7

Original issue reported on code.google.com by rupal.ja...@gmail.com on 11 Sep 2013 at 6:16

GoogleCodeExporter commented 8 years ago
The IE engine embedded has its limitation, including the cache problems,
there is no option in IE to disable caching. However, there are two ways
you can solve the problem:

1. Make your links to CSS/JS files unique, by adding some random string:

    <link href="css/style.css?r=<?php echo time(); ?>" rel="stylesheet" type="text/css" />

2. Send no-cache headers in PHP:

    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Cache-Control: no-cache");
    header("Pragma: no-cache");

3. Update to the Chrome engine (when it's ready and released, see Issue 1)

Original comment by czarek.t...@gmail.com on 11 Sep 2013 at 6:31

GoogleCodeExporter commented 8 years ago
TODO: add no-cache examples and include it in the binary release

Original comment by czarek.t...@gmail.com on 11 Sep 2013 at 6:32

GoogleCodeExporter commented 8 years ago

Original comment by czarek.t...@gmail.com on 11 Sep 2013 at 6:32

GoogleCodeExporter commented 8 years ago

Original comment by czarek.t...@gmail.com on 19 Jan 2014 at 7:41

GoogleCodeExporter commented 8 years ago
Done in revision 5314a883198d.

Original comment by czarek.t...@gmail.com on 22 Jan 2014 at 2:10

GoogleCodeExporter commented 8 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/phpdesktop/issues/45

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 3:21