🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #50964

Re: wymuszenie przełądowania pliku ze skryptami

#50964
From: Adam Byrtek
Date: Thu, 01 Dec 2011 15:56
9 lines
1398 bytes
On 12/01/2011 10:28 AM, Marek 'Qrczak' Potocki wrote:
> Dzięki, przetestuję. Tylko nie rand(), a filemtime(), co (chyba) pozwoli na
> przeładowywanie tylko jeśli plik był zmieniony.

Raczej to drugie, bo pierwsza opcja to wylewanie dziecka z kąpielą 
(tracisz cały caching).

-- 
Adam Byrtek
Technical Details
Message-ID: <jb883p$44e$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <7fzjl3f6kjpn.c3vjh2bga3cj.dlg@40tude.net> <slrnjdedvg.lpa.write-only-with-spf@dns.media-lab.com.pl> <1wx20d7hxd9eg$.owmzrg2vnfoq$.dlg@40tude.net> <slrnjdeghe.6u7.write-only-with-spf@dns.media-lab.com.pl> <1f8e5ld7qw9th.1oahi5a5jtk40.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Adam Byrtek <adambyrtek@gmail.com>
Newsgroups: pl.comp.lang.javascript
Subject: Re: wymuszenie przełądowania pliku ze skryptami
Date: Thu, 01 Dec 2011 16:56:41 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 9
Message-ID: <jb883p$44e$1@inews.gazeta.pl>
References: <7fzjl3f6kjpn.c3vjh2bga3cj.dlg@40tude.net> <slrnjdedvg.lpa.write-only-with-spf@dns.media-lab.com.pl> <1wx20d7hxd9eg$.owmzrg2vnfoq$.dlg@40tude.net> <slrnjdeghe.6u7.write-only-with-spf@dns.media-lab.com.pl> <1f8e5ld7qw9th.1oahi5a5jtk40.dlg@40tude.net>
NNTP-Posting-Host: rs.ists.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1322755001 4238 87.239.216.2 (1 Dec 2011 15:56:41 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 1 Dec 2011 15:56:41 +0000 (UTC)
X-User: alpha123
In-Reply-To: <1f8e5ld7qw9th.1oahi5a5jtk40.dlg@40tude.net>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit