Building Table is VERY slow
-
Have a page that is building a table of custom posts with acf fields…
It’s running really really slowly. Abeit, it’s 100 records with a custom field in each row. And I have footable on it. But this is the slowest performance I’ve ever seen from this plugin. And if I remove footable, there is no gain in speed. It’s the query that’s slow.
Any suggestions?
link: https://frlusa.com/inventory-test-page-569h/
loop code:
<table class="footable inventory-table"> <thead> <tr> <th scope="col">Description</th> <th scope="col">MFR</th> <th scope="col">Weight</th> <th scope="col">Color</th> <th scope="col">CIE L*AB Color</th> <th scope="col">RoHS</th> <th scope="col">Lot #</th> <th scope="col">Product Code</th> <th>Data Sheet</th> <th scope="col">Price</th> </tr> </thead> <tbody> [loop type="available_inventory"] <tr> <td>[content]</td> <td>[acf field="inv_mfr"]</td> <td>[acf field="inv_weight"]</td> <td>[acf field="inv_color"]</td> <td>[acf field="inv_cie_l*ab_color"]</td> <td>[acf field="inv_rohs"]</td> <td>[acf field="inv_lot_number"]</td> <td>[acf field="inv_code"]</td> <td>[if field="inv_code" value="01.0001.00.10"]<a href="[url uploads]/datasheets/reprocessed_fep_for_data_cable_insulation.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0001.00.10"]<a href="[url uploads]/datasheets/reprocessed_fep.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0001.01.10"]<a href="[url uploads]/datasheets/reprocessed_foam_fep.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0001.02.10"]<a href="[url uploads]/datasheets/virgin_fep.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0002.00.10"]<a href="[url uploads]/datasheets/reprocessed_pfa.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0006.00.10"]<a href="[url uploads]/datasheets/reprocessed_etfe.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0007.00.10"]<a href="[url uploads]/datasheets/reprocessed_mfa.pdf" target="_blank" download="">Download</a>[/if] [if field="inv_code" value="02.0008.00.10"]<a href="[url uploads]/datasheets/reprocessed_pvc_resin.pdf" target="_blank" download="">Download</a>[/if]</td> <td><a href="[url]/product-inquiry/?ticket_number=[content field="title"]">Contact</a></td> </tr> [/loop] </tbody> </table>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Building Table is VERY slow’ is closed to new replies.