Q21. How do HTTP caching and CDNs improve performance?
Caching avoids re-downloading assets and is one of the cheapest performance wins. Use content-hashed filenames with a long Cache-Control: public, max-age=31536000, immuta...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (59 available).
Caching avoids re-downloading assets and is one of the cheapest performance wins. Use content-hashed filenames with a long Cache-Control: public, max-age=31536000, immuta...
Copying large objects is expensive. Move semantics transfer ownership of a resource from a temporary (an rvalue) instead of copying, leaving the source in a valid but uns...
Lab tools run in a controlled environment. Lighthouse gives a synthetic score with TTFB, FCP, LCP, TBT and CLS, which is useful in CI and for reproducible comparisons. Ch...
Tailwind's performance story is about generation and delivery. The JIT engine produces only the utilities present in scanned files, so production CSS is typically a few k...
SvelteKit renders every page on the server by default and then hydrates it on the client, so the first paint is real HTML. You control this per route with page options. e...
Cost in on-demand BigQuery is driven by bytes scanned, so reduce what each query reads. - Partition tables, usually by date, and add partition filters so only relevant pa...
Work from the outside in and use metrics before guessing. 1. Confirm scope: is it the instance, the network, the application, or a dependency? Check CloudWatch CPU, netwo...
Use find for simple filtering, projection, sorting and pagination on a single collection. It is lightweight and uses indexes efficiently. Use aggregate when you must tran...
Practical Vue 3 optimisations: use computed instead of methods in templates so results are cached, and split large components. Prefer shallowRef or shallowReactive for la...
Swift collections such as `Array`, `Dictionary` and `String` are value types with copy-on-write. Copying a variable is cheap because both copies share the same buffer unt...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.