When my protocol changes from HTTP to HTTPS why are images/files requested again instead of being cached?
On replay of the script you are not only changing the protocol but also the port number. By default HTTP requests are made on port 80 and HTTPS on port 443, therefore making a request for an image etc via HTTP will actually use a URL like:
Whereas the HTTPS request will use a URL like:
Since these files/images are requested by differently structured URLS they are treated as different entities and therefore not cached initially. All subsequent calls for the same files will be cached (depending on user behavior specified in the profile setting) for the remainder of the test. For further clarification contact Support.