Html
If the page is static, how does HTML receive parameters? No clue. Ask for advice
Reply to discussion (solution)
Can static pages receive parameters?
Can static pages receive parameters? Brother, your brick factory, hurry up, the posts are going to sink.
You want to say the static after the dynamic, you use javascirpt!
The static address can have parameters;
such as thred-38903-uid.html
There's a lot of information inside.
Performance optimization and usability should be properly balanced, rather than blindly pursuing performance optimizations, which would otherwise become code degradation.
There is no unified approach to static. It is usually rewritten via the URL. For example:
http://www.xxx.com/topic.php?id=390506260
Change into
http://www.xxx.com/topics/390506260
is changed to
Http://www.xxx.com/topics/390506260.html
Thus, no parameters are required. HTML pages are generated in the background with scripts. It implements a build, multiple accesses.
Pages with more real-time data or hard-to-live data separation are difficult to static and not recommended for static. Because it reduces code readability.
If you want to pass parameters, it's not really static.
There are three laws:
First:
http://www.xxx.com/topic.php?id=390506260
Change into
http://www.xxx.com/topics/390506260
Second:
http://www.xxx.com/topic.html?id=390506260
Use JS to turn, not safe
Third:
http://www.xxx.com/topic.html?id=390506260
Use Apache to turn around, the rules are written in the. htaccess.