Comments (20)
这个问题你多测试一下,确定是不是这个情况,我这里也去验证一下你说的问题
from wtrequestcenter.
�Test方法你试一下,如果成功可以先用那个方法
from wtrequestcenter.
当使用这个webView缓存框架的时候 https://github.com/rnapier/RNCachingURLProtocol testPostWithURL WTRequestCenterCachePolicyNormal 这个请求会出现 如果A控制器push一个控制器B,B里面有收藏按钮是个post请求,如果点一下收藏,立马点返回到A控制器,那么是收藏失败,请求没有结束已经不请求了,试了ASI,ASI就算B直接退到A 那么还是会执行完这个请求的这个问题 如果操作比较快 那么post是无效
from wtrequestcenter.
testGetWithURL WTRequestCenterCachePolicyNormal正常 WTRequestCenterCachePolicyCacheAndRefresh容易奔溃 test正常识别我的get post CacheAndRefresh容易奔溃修复一下,我继续测试
from wtrequestcenter.
POST好像不能缓存,我考虑要不要废弃
from wtrequestcenter.
下午也测试了 当使用这个webView缓存框架的时候 https://github.com/rnapier/RNCachingURLProtocol 的时候,无论 get post 没有缓存和有缓存的情况下 post 都是失败, ASI配合这个webView缓存框架 已测试通过,其他没测试~post保留一下给需要的人吧,还有那个状态栏的菊花没有加上,不过这个test 好像做的比较好一点,我等下试试能不能自己加
from wtrequestcenter.
hi 已经排查出来是WTRequestCenterCachePolicyCacheAndRefresh 这个缓存的问题,正式版的get 和 post 用缓存或者不用缓存 WTRequestCenterCachePolicyCacheAndRefresh 和 WTRequestCenterCachePolicyNormal这个都有问题,post有问题,测试版的test 用WTRequestCenterCachePolicyCacheAndRefresh这个的时候会奔溃,用没有缓存的策略一切正常,可以正常post,get 其他没详细测试
from wtrequestcenter.
谢谢你辛苦测试
from wtrequestcenter.
RNCachingURLProtocol有webView缓存,post失败,正式和test版本的都试了
from wtrequestcenter.
我靠,也许有冲突吧
from wtrequestcenter.
猜测应该是缓存的问题,希望可以修复哦~ASI和他不会冲突
from wtrequestcenter.
囧,我的是和AFN比较相似,你还是拿AFN来测试吧
from wtrequestcenter.
hi,AFN框架如果配合https://github.com/rnapier/RNCachingURLProtocol 这个框架是用于webView缓存 也支持 游戏的使用,那么AFN的POST 请求会失败,,普通状态下没问题,我等下提交给AFN作者,看会不会修复,[[AFNetworkActivityIndicatorManager sharedManager]setEnabled:YES]; 刚刚看了一下AFN,一句话可以打开网络指示器
from wtrequestcenter.
下午录制了个视频给你,发你邮箱了,包含了 AFN ASI 还有你的框架,post 在缓存下是有问题的
from wtrequestcenter.
谢谢你,你的测试很有用
from wtrequestcenter.
昨天晚上你提交的那个版本 还是存在原来的问题的,那个webView缓冲框架有个bug,我已经修复~
from wtrequestcenter.
厉害
from wtrequestcenter.
WTRequestCenterCachePolicyCacheAndRefresh 依然有问题,求修复~~
from wtrequestcenter.
如果是POST别用缓存
from wtrequestcenter.
post 我不用缓存的,我用get缓存的,post就会失效,AFN已经测试过,没问题
from wtrequestcenter.
Related Issues (20)
- imageview缓存异步加载问题 HOT 1
- 使用过程中发现的问题, HOT 1
- 可以做个接口吗,请求中,菊花在转动,请求完成或者请求失败不转动 HOT 10
- WTRequestCenterCachePolicyCacheAndRefresh问题 HOT 1
- 切换图片 HOT 1
- 没有put请求 HOT 2
- post的数据格式 HOT 5
- Demo中,加载webView京东网页,出现乱码 HOT 2
- 想下载做预加载的功能 HOT 2
- 为什么https 会请求失败呢 HOT 5
- 对于 https 支持不好 HOT 2
- 请求网络图片地址过长无法显示 HOT 1
- 发现了个小问题。UserAgent的 HOT 4
- 关于WTCycleScrollView.h HOT 1
- 现在的版本没有uiwebview缓存了吗? HOT 1
- wt大神,UIWebView的缓存怎么做的,在demo里找不到啊 HOT 1
- 是否能增加https支持 HOT 1
- 动态图片,请求标识 HOT 2
- 使用过程中遇到的问题, HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtrequestcenter.