---
title: "Performance and security"
url: https://phatdev.net/en/docs/tandoanh-buildpc/hieu-nang-bao-mat
lang: en
updated: 2026-10-20
alternate:
  vi: https://phatdev.net/docs/tandoanh-buildpc/hieu-nang-bao-mat
markdown: https://phatdev.net/en/docs/tandoanh-buildpc/hieu-nang-bao-mat.md
---

# Performance and security

Part of the doc set: [PC Builder](https://phatdev.net/en/docs/tandoanh-buildpc.md)

> How the plugin keeps pages fast and safe.

## Performance
- CSS and JS load only on pages that contain the `[tandoanh_buildpc]` shortcode.
- A dedicated AJAX endpoint loads only the plugins it needs, so it responds faster than the default admin-ajax.
- Responses are cached in Redis and refreshed automatically when price or stock changes.
- Assets carry a version number so browsers pick up the new version after every update.

## Security
- Nonce, capability and input sanitising checks on every action.
- The nonce refreshes itself through an uncached endpoint, avoiding the "Security verification failed" error when a page is cached for a long time.
- The send-build-by-email feature was reviewed and security-patched in 2.6.0.
- The session lock error on concurrent saves was fixed in 2.10.4.
