Is php static like this? I understand it as follows:
1. there are two types of real static data:
1.1 generate static html, which is real static (this is clear)
1.2 Another way is to generate a static page. php will read the static file and then echo it.
In this way, the main purpose of static data is to reduce database queries. the url is still dynamic php with parameters.
This is internal change, external change (url)
2. pseudo-static
This is to wrap up the dynamic url layout. Nothing else has changed. you should check the database to make the url look like a static page. A little superficial. This is an external change, but it does not change internally.
I don't know if this is the case.
Reply to discussion (solution)
This is the case.
Yes, no score. sorry, the people.
Your 1.2 is not a static file, but a file cache.
In fact, it is very easy to identify whether it is real static or pseudo static:
Capture the HTTP header. if the HTTP header contains the Last-Modified entry and its value is different from that of the Date header, it is truly static.
Last-Modified indicates the Last modification time of the Accessed document.
The documents generated by server scripts are always the same as the current time on the server. Therefore, most servers do not send the Last-Modified item for such documents.
The landlord's understanding is correct. If the expression is accurate, it is the upstairs statement.