Comments (3)
i am not aware of any ajax response is cached in react application,
so for 5), can you clarify whether page A doesnt send ajax request when goes back, or page sent request (you can see it thru chrome dev tools network), but it got cached (dev tool will show memory cache or disk cache in size column)?
and check whether server side sends any cache-control header? (not supposed to have)
from core-ng-project.
I confirmed that the API request triggered by backing-up action was used with disk cached. The frontend fixed this bug. I will try to recreate this bug by writing a react demo, if I can do so I will reopen this issue.
from core-ng-project.
ok, please update me if you are able to reproduce,
i did quick test, if there is no cache-control header in response, i don't see chrome caches the xhr get request,
i think you may want to double check the response header of the cached ajax call.
if cache-control: no-store is needed (usually you want to add this header for index.html response)
then you can still do it via interceptor, but i haven't encountered any cases like what you said
from core-ng-project.
Related Issues (14)
- Add support for org.bson.types.Binary type in Mongo Collection Entity Codec HOT 2
- wiki HOT 11
- buffer.clear() method not found when running on Java 8 HOT 2
- what if requestURI is "https://www.example.com" in RequestParser.path() ? HOT 3
- Migrate LGTM.com installation from OAuth to GitHub App
- can't register same name interface
- can support command line Arguments? HOT 6
- Could we have inteceptor work on response before validateResponse? HOT 4
- Provide Relative Path on REST Request HOT 4
- Websocket Middleware
- 这个框架是否有bean初始化的接口,在完成bean创建后需要执行一些初始化方法 HOT 2
- 为何不用注解扫描向BeanFactory里面放bean, HOT 2
- 有支持接口注入的实现方式吗 HOT 6
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 core-ng-project.