动态内容变静态

WBOY
Release: 2016-06-23 13:50:00
Original
967 people have browsed it

看见一个网站有一组推荐内容信息,每次刷新网页,推荐内容都不一样,应该是用JS输出,但是查看网页源代码是有这些内容的,但是JS输出的内容应该在网页源代码里看不到,

请问下这是怎么做到的,难道每次刷新都打开这个html,并修改这个html的内容?


回复讨论(解决方案)

那就是伪静态了

那就是伪静态了



我也想过,看来只有伪静态能做成这样。
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!