Hi, Yes, many calls aren't cached and might be repeated.
There was a fix for SWIFT in this PR https://github.com/owncloud/core/pull/7897 but the same should be done for S3 at some point. Cheers, Vincent On 12/11/2014 09:23 AM, Michael Lukzak wrote: > Hi, > > I downloaded ownCloud 7 and configure it to use external S3 gateway (powered > by CEPH Object Storage). > Connection works, I can put/delete/list folder and files. > After examining log files from S3 gateway I saw that I want to browse folder > ownCloud produces many requests to gateway. > I put a one file to folder and refreshed the folder in browser. > In logs I saw 15 request, where one is a GET / and rest are HEAD /WinScp.exe > > Why so many HEAD requests are generated? > > When I put second file browsing the folder produces twice more requests > (Number of Files in Folder x 14 = a lot of requests). > Log from S3 gateway: > 127.0.0.1 - - [10/Dec/2014:14:47:06 +0100] "GET /?delimiter=%2F&prefix= > HTTP/1.1" 200 814 "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3 > ITR" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > 127.0.0.1 - - [10/Dec/2014:14:47:07 +0100] "HEAD /WinSCP.exe HTTP/1.1" 200 - > "-" "aws-sdk-php2/2.4.0 Guzzle/3.8.1 curl/7.39.0 PHP/5.6.3" > > Best Regards, > Michael > > > > _______________________________________________ > User mailing list > [email protected] > http://mailman.owncloud.org/mailman/listinfo/user >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ User mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/user
