[Wicket-user] no-cache in development mode

2006-08-04 Thread Pierre-Yves Saumont
Hi,

I like to have browser be automatically instructed not to cache anything 
when in Wicket development mode. (I can't count the times I did not 
remember to clear the cache after making some modification in a CSS and 
couldt not find why the changes were not visible).

May be it's there and I couldn't find it. I eventually it by detecting 
development mode programatically and inserting  meta 
http-equiv=pragma content=no-cache/ into the head element.

May be there is/should be a simpler way to achieve this ?

Pierre-Yves


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] no-cache in development mode

2006-08-04 Thread Korbinian Bachl
Hi,

the only 100% way is to deactivate the cache in the browser itself - as i
found out some versions dont count on that no-cache, if they get the data
for the same connection within short time, they usually use the chunks in
the 0-time cache, especially if its embedded (like CSS files).

the best thin is to use a WebDeveloper toolbar like the one for Firefox from
Chris Prederick
( http://chrispederick.com/work/webdeveloper/ ) as it gives u fast access to
the little things  and allows you to ignore certain things like JS, or send
faked data input in fields.

Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Pierre-Yves Saumont
 Gesendet: Freitag, 4. August 2006 10:44
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] no-cache in development mode
 
 Hi,
 
 I like to have browser be automatically instructed not to 
 cache anything when in Wicket development mode. (I can't 
 count the times I did not remember to clear the cache after 
 making some modification in a CSS and couldt not find why the 
 changes were not visible).
 
 May be it's there and I couldn't find it. I eventually it by 
 detecting development mode programatically and inserting  
 meta http-equiv=pragma content=no-cache/ into the head element.
 
 May be there is/should be a simpler way to achieve this ?
 
 Pierre-Yves
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys -- and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user