Ask a question about data paging

Source: Internet
Author: User
Ask a question about paging a data
For example, there are tens of thousands of data, paging, if each page 50, a total of thousands of pages, each page generated HTML files.
Each time you add a piece of data, you need to update the thousands of HTML to ensure that the first HTML is the most current data.
Feel too wasted, is there a better way?
------to solve the idea----------------------
This is a static file generation policy issue:
If you do not regenerate all of the list pages each time (with new content), just regenerate the first few pages (for example, 10 pages)
This will not need to regenerate from the original 11 page after adding 50 new content.
Of course, if the period after paging to 10 pages, may be to lose some information, but the number of browsing data (50*10) in the short term can not see is not related
You can also use dynamic pages to compensate for this missing
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.