Does Funkload store cached data?

94 Views Asked by At

I want to make sure that I am not fetching the cached images while testing for performance results (so that it will not give me wrong interpretation).

class Simple(FunkLoadTestCase):

    def setUp(self):
        # fetch urls from a file ... ending up with something like
        urlList = ['myurl']
        self.urlList = urlList

    def test_simple(self):
        for url in self.urlList:
            self.get(url, description='Get url')

Now myurl is a static page and all the images when accessed second time around, will be browser cached.

1

There are 1 best solutions below

1
On BEST ANSWER

Refer to: http://funkload.nuxeo.org/README.html which mentions the following about Funk Load:

It also simulates a browser cache by not reloading a css, a javascript or an image twice